Class XyChart (2.11.0)

XyChart(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A chart that displays data on a 2D (X and Y axes) plane.

Attributes

NameDescription
data_sets MutableSequence[google.cloud.monitoring_dashboard_v1.types.XyChart.DataSet]
Required. The data displayed in this chart.
timeshift_duration google.protobuf.duration_pb2.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.
thresholds MutableSequence[google.cloud.monitoring_dashboard_v1.types.Threshold]
Threshold lines drawn horizontally across the chart.
x_axis google.cloud.monitoring_dashboard_v1.types.XyChart.Axis
The properties applied to the X axis.
y_axis google.cloud.monitoring_dashboard_v1.types.XyChart.Axis
The properties applied to the Y axis.
y2_axis google.cloud.monitoring_dashboard_v1.types.XyChart.Axis
The properties applied to the Y2 axis.
chart_options google.cloud.monitoring_dashboard_v1.types.ChartOptions
Display options for the chart.

Classes

Axis

Axis(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A chart axis.

DataSet

DataSet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Groups a time series query definition with charting options.