Class Axis
Axis used in a visualization.
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Axis : IEquatable<Axis>
Constructors
Axis(List<String>, String, String, String, Nullable<Axis.BaseEnum>, Nullable<AxisScale>)
Initializes a new instance of the Axis class.
Declaration
public Axis(List<string> bounds = null, string label = null, string prefix = null, string suffix = null, Axis.BaseEnum? _base = null, AxisScale? scale = null)
Parameters
Type | Name | Description |
---|---|---|
List<System. |
bounds | The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits.. |
System. |
label | Description of the axis.. |
System. |
prefix | Label prefix for formatting axis values.. |
System. |
suffix | Label suffix for formatting axis values.. |
System. |
_base | Radix for formatting axis values.. |
System. |
scale | scale. |
Properties
Base
Radix for formatting axis values.
Declaration
public Axis.BaseEnum? Base { get; set; }
Property Value
Type | Description |
---|---|
System. |
Radix for formatting axis values. |
Bounds
The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits.
Declaration
public List<string> Bounds { get; set; }
Property Value
Type | Description |
---|---|
List<System. |
The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits. |
Label
Description of the axis.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System. |
Description of the axis. |
Prefix
Label prefix for formatting axis values.
Declaration
public string Prefix { get; set; }
Property Value
Type | Description |
---|---|
System. |
Label prefix for formatting axis values. |
Scale
Gets or Sets Scale
Declaration
public AxisScale? Scale { get; set; }
Property Value
Type | Description |
---|---|
System. |
Suffix
Label suffix for formatting axis values.
Declaration
public string Suffix { get; set; }
Property Value
Type | Description |
---|---|
System. |
Label suffix for formatting axis values. |
Methods
Equals(Axis)
Returns true if Axis instances are equal
Declaration
public bool Equals(Axis input)
Parameters
Type | Name | Description |
---|---|---|
Axis | input | Instance of Axis to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |