Chronicle V1 API - Class Google::Cloud::Chronicle::V1::DashboardChart::Visualization::VisualMap::VisualMapPiece (v0.6.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::DashboardChart::Visualization::VisualMap::VisualMapPiece.

An ECharts visual map of type 'piecewise' contain many pieces. Each piece has a min, max, and color with which it's rendered.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#color

def color() -> ::String
Returns
  • (::String) — Optional. Color to render the piece in when the value is between min and max.

#color=

def color=(value) -> ::String
Parameter
  • value (::String) — Optional. Color to render the piece in when the value is between min and max.
Returns
  • (::String) — Optional. Color to render the piece in when the value is between min and max.

#label

def label() -> ::String
Returns
  • (::String) — Optional. Label used in visual map controller.

#label=

def label=(value) -> ::String
Parameter
  • value (::String) — Optional. Label used in visual map controller.
Returns
  • (::String) — Optional. Label used in visual map controller.

#max

def max() -> ::Integer
Returns
  • (::Integer) — Optional. Minimum value for the piece.

#max=

def max=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Minimum value for the piece.
Returns
  • (::Integer) — Optional. Minimum value for the piece.

#min

def min() -> ::Integer
Returns
  • (::Integer) — Optional. Minimum value for the piece.

#min=

def min=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Minimum value for the piece.
Returns
  • (::Integer) — Optional. Minimum value for the piece.