NAME
Google::Monitoring::Dashboard::V1::Xychart - Compiled Protocol Buffers messages for google/monitoring/dashboard/v1/xychart.proto
SYNOPSIS
use Google::Monitoring::Dashboard::V1::Xychart;
my $msg = Google::Monitoring::Dashboard::V1::Xychart::XyChart->new({
data_sets => $data_sets,
timeshift_duration => $timeshift_duration,
thresholds => $thresholds,
x_axis => $x_axis,
});
# Read or update a field
my $val = $msg->data_sets();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Monitoring::Dashboard::V1::Xychart::XyChart->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/monitoring/dashboard/v1/xychart.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Monitoring::Dashboard::V1::Xychart::XyChart
A chart that displays data on a 2D (X and Y axes) plane.
Inherits from Protobuf::Message.
Accessors
$msg->data_sets()/$msg->data_sets($value)Type:
Message(Google::Monitoring::Dashboard::V1::Xychart::XyChart::DataSet)Required. The data displayed in this chart.
$msg->timeshift_duration()/$msg->timeshift_duration($value)Type:
Message(Google::Protobuf::Duration::Duration)The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.
$msg->thresholds()/$msg->thresholds($value)Type:
Message(Google::Monitoring::Dashboard::V1::Metrics::Threshold)Threshold lines drawn horizontally across the chart.
$msg->x_axis()/$msg->x_axis($value)Type:
Message(Google::Monitoring::Dashboard::V1::Xychart::XyChart::Axis)The properties applied to the x-axis.
$msg->y_axis()/$msg->y_axis($value)Type:
Message(Google::Monitoring::Dashboard::V1::Xychart::XyChart::Axis)The properties applied to the y-axis.
$msg->y2_axis()/$msg->y2_axis($value)Type:
Message(Google::Monitoring::Dashboard::V1::Xychart::XyChart::Axis)The properties applied to the y2-axis.
$msg->chart_options()/$msg->chart_options($value)Type:
Message(Google::Monitoring::Dashboard::V1::Xychart::ChartOptions)Display options for the chart.
Google::Monitoring::Dashboard::V1::Xychart::ChartOptions
Options to control visual rendering of a chart.
Inherits from Protobuf::Message.
Accessors
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Monitoring::Dashboard::V1::ChartOptions::Mode)The chart mode.
Enum: ChartOptions::Mode
MODE_UNSPECIFIED=>0COLOR=>1X_RAY=>2STATS=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Monitoring::Dashboard::V1::Xychart::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.