PieChart(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A widget that displays timeseries data as a pie or a donut.
Attributes | |
---|---|
Name | Description |
data_sets |
MutableSequence[google.cloud.monitoring_dashboard_v1.types.PieChart.PieChartDataSet]
Required. The queries for the chart's data. |
chart_type |
google.cloud.monitoring_dashboard_v1.types.PieChart.PieChartType
Required. Indicates the visualization type for the PieChart. |
show_labels |
bool
Optional. Indicates whether or not the pie chart should show slices' labels |
Classes
PieChartDataSet
PieChartDataSet(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Groups a time series query definition.
PieChartType
PieChartType(value)
Types for the pie chart.
Values: PIE_CHART_TYPE_UNSPECIFIED (0): The zero value. No type specified. Do not use. PIE (1): A Pie type PieChart. DONUT (2): Similar to PIE, but the DONUT type PieChart has a hole in the middle.