Class: DatadogAPIClient::V1::WidgetAxis

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/widget_axis.rb

Overview

Axis controls for the widget.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v1/models/widget_axis.rb', line 39

def additional_properties
  @additional_properties
end

#include_zeroObject

Set to ‘true` to include zero.



25
26
27
# File 'lib/datadog_api_client/v1/models/widget_axis.rb', line 25

def include_zero
  @include_zero
end

#labelObject

The label of the axis to display on the graph. Only usable on Scatterplot Widgets.



28
29
30
# File 'lib/datadog_api_client/v1/models/widget_axis.rb', line 28

def label
  @label
end

#maxObject

Specifies maximum numeric value to show on the axis. Defaults to ‘auto`.



31
32
33
# File 'lib/datadog_api_client/v1/models/widget_axis.rb', line 31

def max
  @max
end

#minObject

Specifies minimum numeric value to show on the axis. Defaults to ‘auto`.



34
35
36
# File 'lib/datadog_api_client/v1/models/widget_axis.rb', line 34

def min
  @min
end

#scaleObject

Specifies the scale type. Possible values are ‘linear`, `log`, `sqrt`, and `pow##` (for example `pow2` or `pow0.5`).



37
38
39
# File 'lib/datadog_api_client/v1/models/widget_axis.rb', line 37

def scale
  @scale
end