Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::PieChart (v0.15.0)

Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::PieChart.

A widget that displays timeseries data as a pie or a donut.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#chart_type

def chart_type() -> ::Google::Cloud::Monitoring::Dashboard::V1::PieChart::PieChartType
Returns

#chart_type=

def chart_type=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::PieChart::PieChartType
Parameter
Returns

#data_sets

def data_sets() -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::PieChart::PieChartDataSet>
Returns

#data_sets=

def data_sets=(value) -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::PieChart::PieChartDataSet>
Parameter
Returns

#show_labels

def show_labels() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates whether or not the pie chart should show slices' labels

#show_labels=

def show_labels=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates whether or not the pie chart should show slices' labels
Returns
  • (::Boolean) — Optional. Indicates whether or not the pie chart should show slices' labels