Class: Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/dashboard/v1/xychart.rb

Overview

A chart axis.

Defined Under Namespace

Modules: Scale

Instance Attribute Summary collapse

Instance Attribute Details

#label::String

Returns The label of the axis.

Returns:

  • (::String)

    The label of the axis.



111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/monitoring/dashboard/v1/xychart.rb', line 111

class Axis
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of scales used in axes.
  module Scale
    # Scale is unspecified. The view will default to `LINEAR`.
    SCALE_UNSPECIFIED = 0

    # Linear scale.
    LINEAR = 1

    # Logarithmic scale (base 10).
    LOG10 = 2
  end
end

#scale::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis::Scale

Returns The axis scale. By default, a linear scale is used.

Returns:



111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'proto_docs/google/monitoring/dashboard/v1/xychart.rb', line 111

class Axis
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of scales used in axes.
  module Scale
    # Scale is unspecified. The view will default to `LINEAR`.
    SCALE_UNSPECIFIED = 0

    # Linear scale.
    LINEAR = 1

    # Logarithmic scale (base 10).
    LOG10 = 2
  end
end