Package com.datadog.api.client.v1.model
Class WidgetAxis
java.lang.Object
com.datadog.api.client.v1.model.WidgetAxis
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetAxis
extends Object
Axis controls for the widget.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WidgetAxis object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Set totrueto include zero.getLabel()The label of the axis to display on the graph.getMax()Specifies maximum numeric value to show on the axis.getMin()Specifies minimum numeric value to show on the axis.getScale()Specifies the scale type.inthashCode()includeZero(Boolean includeZero) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIncludeZero(Boolean includeZero) voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INCLUDE_ZERO
- See Also:
-
JSON_PROPERTY_LABEL
- See Also:
-
JSON_PROPERTY_MAX
- See Also:
-
JSON_PROPERTY_MIN
- See Also:
-
JSON_PROPERTY_SCALE
- See Also:
-
-
Constructor Details
-
WidgetAxis
public WidgetAxis()
-
-
Method Details
-
includeZero
-
getIncludeZero
Set totrueto include zero.- Returns:
- includeZero
-
setIncludeZero
-
label
-
getLabel
The label of the axis to display on the graph. Only usable on Scatterplot Widgets.- Returns:
- label
-
setLabel
-
max
-
getMax
Specifies maximum numeric value to show on the axis. Defaults toauto.- Returns:
- max
-
setMax
-
min
-
getMin
Specifies minimum numeric value to show on the axis. Defaults toauto.- Returns:
- min
-
setMin
-
scale
-
getScale
Specifies the scale type. Possible values arelinear,log,sqrt, andpow##(for examplepow2orpow0.5).- Returns:
- scale
-
setScale
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- WidgetAxis
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this WidgetAxis object is equal to o. -
hashCode
public int hashCode() -
toString
-