Class XyChart (2.1.0)

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

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

Required. The data displayed in this chart.

:type: Sequence[google.cloud.monitoring_dashboard_v1.types.XyChart.DataSet]

Attributes

NameDescription
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 Sequence[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.
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. .. attribute:: label

The label of the axis.

:type: str

DataSet

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

Groups a time series query definition with charting options. .. attribute:: time_series_query

Required. Fields for querying time series data from the Stackdriver metrics API.

:type: google.cloud.monitoring_dashboard_v1.types.TimeSeriesQuery