Class GaugeViewProperties
GaugeViewProperties
Implements
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class GaugeViewProperties : ViewProperties, IEquatable<GaugeViewProperties>
Constructors
GaugeViewProperties()
Initializes a new instance of the GaugeViewProperties class.
Declaration
protected GaugeViewProperties()
GaugeViewProperties(GaugeViewProperties.TypeEnum, List<DashboardQuery>, List<DashboardColor>, GaugeViewProperties.ShapeEnum, String, Nullable<Boolean>, String, String, String, String, DecimalPlaces)
Initializes a new instance of the GaugeViewProperties class.
Declaration
public GaugeViewProperties(GaugeViewProperties.TypeEnum type = default(GaugeViewProperties.TypeEnum), List<DashboardQuery> queries = null, List<DashboardColor> colors = null, GaugeViewProperties.ShapeEnum shape = default(GaugeViewProperties.ShapeEnum), string note = null, bool? showNoteWhenEmpty = null, string prefix = null, string tickPrefix = null, string suffix = null, string tickSuffix = null, DecimalPlaces decimalPlaces = null)
Parameters
Type | Name | Description |
---|---|---|
GaugeViewProperties.TypeEnum | type | type (required) (default to TypeEnum.Gauge). |
List<DashboardQuery> | queries | queries (required). |
List<DashboardColor> | colors | Colors define color encoding of data into a visualization (required). |
GaugeViewProperties.ShapeEnum | shape | shape (required) (default to ShapeEnum.ChronografV2). |
System.String | note | note (required). |
System.Nullable<System.Boolean> | showNoteWhenEmpty | If true, will display note when empty (required). |
System.String | prefix | prefix (required). |
System.String | tickPrefix | tickPrefix (required). |
System.String | suffix | suffix (required). |
System.String | tickSuffix | tickSuffix (required). |
DecimalPlaces | decimalPlaces | decimalPlaces (required). |
Properties
Colors
Colors define color encoding of data into a visualization
Declaration
public List<DashboardColor> Colors { get; set; }
Property Value
Type | Description |
---|---|
List<DashboardColor> | Colors define color encoding of data into a visualization |
DecimalPlaces
Gets or Sets DecimalPlaces
Declaration
public DecimalPlaces DecimalPlaces { get; set; }
Property Value
Type | Description |
---|---|
DecimalPlaces |
Note
Gets or Sets Note
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Prefix
Gets or Sets Prefix
Declaration
public string Prefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Queries
Gets or Sets Queries
Declaration
public List<DashboardQuery> Queries { get; set; }
Property Value
Type | Description |
---|---|
List<DashboardQuery> |
Shape
Gets or Sets Shape
Declaration
public GaugeViewProperties.ShapeEnum Shape { get; set; }
Property Value
Type | Description |
---|---|
GaugeViewProperties.ShapeEnum |
ShowNoteWhenEmpty
If true, will display note when empty
Declaration
public bool? ShowNoteWhenEmpty { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | If true, will display note when empty |
Suffix
Gets or Sets Suffix
Declaration
public string Suffix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TickPrefix
Gets or Sets TickPrefix
Declaration
public string TickPrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TickSuffix
Gets or Sets TickSuffix
Declaration
public string TickSuffix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or Sets Type
Declaration
public GaugeViewProperties.TypeEnum Type { get; set; }
Property Value
Type | Description |
---|---|
GaugeViewProperties.TypeEnum |
Methods
Equals(GaugeViewProperties)
Returns true if GaugeViewProperties instances are equal
Declaration
public bool Equals(GaugeViewProperties input)
Parameters
Type | Name | Description |
---|---|---|
GaugeViewProperties | input | Instance of GaugeViewProperties to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |