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 Static
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. |
colorizeRows | colorizeRows. |
System. |
heightRatio | heightRatio. |
System. |
show | show. |
System. |
opacity | opacity. |
System. |
orientationThreshold | orientationThreshold. |
System. |
valueAxis | valueAxis. |
System. |
widthRatio | widthRatio. |
Properties
ColorizeRows
Gets or Sets ColorizeRows
Declaration
public bool? ColorizeRows { get; set; }
Property Value
Type | Description |
---|---|
System. |
HeightRatio
Gets or Sets HeightRatio
Declaration
public float? HeightRatio { get; set; }
Property Value
Type | Description |
---|---|
System. |
Opacity
Gets or Sets Opacity
Declaration
public float? Opacity { get; set; }
Property Value
Type | Description |
---|---|
System. |
OrientationThreshold
Gets or Sets OrientationThreshold
Declaration
public int? OrientationThreshold { get; set; }
Property Value
Type | Description |
---|---|
System. |
Show
Gets or Sets Show
Declaration
public bool? Show { get; set; }
Property Value
Type | Description |
---|---|
System. |
ValueAxis
Gets or Sets ValueAxis
Declaration
public string ValueAxis { get; set; }
Property Value
Type | Description |
---|---|
System. |
WidthRatio
Gets or Sets WidthRatio
Declaration
public float? WidthRatio { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(StaticLegend)
Returns true if StaticLegend instances are equal
Declaration
public bool Equals(StaticLegend input)
Parameters
Type | Name | Description |
---|---|---|
Static |
input | Instance of StaticLegend 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 |