Class StaticLegend
StaticLegend represents the options specific to the static legend
Inheritance
System.Object
StaticLegend
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class StaticLegend : IEquatable<StaticLegend>
Constructors
StaticLegend(Nullable<Boolean>, Nullable<Single>, Nullable<Boolean>, Nullable<Single>, Nullable<Int32>, String, Nullable<Single>)
Initializes a new instance of the StaticLegend class.
Declaration
public StaticLegend(bool? colorizeRows = null, float? heightRatio = null, bool? show = null, float? opacity = null, int? orientationThreshold = null, string valueAxis = null, float? widthRatio = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Boolean> | colorizeRows | colorizeRows. |
| System.Nullable<System.Single> | heightRatio | heightRatio. |
| System.Nullable<System.Boolean> | show | show. |
| System.Nullable<System.Single> | opacity | opacity. |
| System.Nullable<System.Int32> | orientationThreshold | orientationThreshold. |
| System.String | valueAxis | valueAxis. |
| System.Nullable<System.Single> | widthRatio | widthRatio. |
Properties
ColorizeRows
Gets or Sets ColorizeRows
Declaration
public bool? ColorizeRows { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
HeightRatio
Gets or Sets HeightRatio
Declaration
public float? HeightRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
Opacity
Gets or Sets Opacity
Declaration
public float? Opacity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
OrientationThreshold
Gets or Sets OrientationThreshold
Declaration
public int? OrientationThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Show
Gets or Sets Show
Declaration
public bool? Show { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ValueAxis
Gets or Sets ValueAxis
Declaration
public string ValueAxis { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
WidthRatio
Gets or Sets WidthRatio
Declaration
public float? WidthRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
Methods
Equals(StaticLegend)
Returns true if StaticLegend instances are equal
Declaration
public bool Equals(StaticLegend input)
Parameters
| Type | Name | Description |
|---|---|---|
| StaticLegend | input | Instance of StaticLegend 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 |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 | Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | String presentation of the object |