Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::XyChart (v0.16.0)

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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#chart_options

def chart_options() -> ::Google::Cloud::Monitoring::Dashboard::V1::ChartOptions
Returns

#chart_options=

def chart_options=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::ChartOptions
Parameter
Returns

#data_sets

def data_sets() -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet>
Returns

#data_sets=

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

#thresholds

def thresholds() -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::Threshold>
Returns

#thresholds=

def thresholds=(value) -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::Threshold>
Parameter
Returns

#timeshift_duration

def timeshift_duration() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::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.

#timeshift_duration=

def timeshift_duration=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::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.
Returns
  • (::Google::Protobuf::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.

#x_axis

def x_axis() -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis
Returns

#x_axis=

def x_axis=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis
Parameter
Returns

#y2_axis

def y2_axis() -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis
Returns

#y2_axis=

def y2_axis=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis
Parameter
Returns

#y_axis

def y_axis() -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis
Returns

#y_axis=

def y_axis=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis
Parameter
Returns