Class: Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis
- 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
-
#label ⇒ ::String
The label of the axis.
-
#scale ⇒ ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis::Scale
The axis scale.
Instance Attribute Details
#label ⇒ ::String
Returns The label of the axis.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/monitoring/dashboard/v1/xychart.rb', line 129 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.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'proto_docs/google/monitoring/dashboard/v1/xychart.rb', line 129 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 |