Class HistogramViewProperties
HistogramViewProperties
Implements
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class HistogramViewProperties : ViewProperties, IEquatable<HistogramViewProperties>
Constructors
HistogramViewProperties()
Initializes a new instance of the Histogram
Declaration
protected HistogramViewProperties()
HistogramViewProperties(HistogramViewProperties.TypeEnum, List<DashboardQuery>, List<DashboardColor>, HistogramViewProperties.ShapeEnum, String, Nullable<Boolean>, String, List<String>, List<Nullable<Single>>, String, HistogramViewProperties.PositionEnum, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Single>, Nullable<Int32>)
Initializes a new instance of the Histogram
Declaration
public HistogramViewProperties(HistogramViewProperties.TypeEnum type = default(HistogramViewProperties.TypeEnum), List<DashboardQuery> queries = null, List<DashboardColor> colors = null, HistogramViewProperties.ShapeEnum shape = default(HistogramViewProperties.ShapeEnum), string note = null, bool? showNoteWhenEmpty = null, string xColumn = null, List<string> fillColumns = null, List<float?> xDomain = null, string xAxisLabel = null, HistogramViewProperties.PositionEnum position = (HistogramViewProperties.PositionEnum)0, int? binCount = null, bool? legendColorizeRows = null, bool? legendHide = null, float? legendOpacity = null, int? legendOrientationThreshold = null)
Parameters
Type | Name | Description |
---|---|---|
Histogram |
type | type (required) (default to TypeEnum.Histogram). |
List<Dashboard |
queries | queries (required). |
List<Dashboard |
colors | Colors define color encoding of data into a visualization (required). |
Histogram |
shape | shape (required) (default to ShapeEnum.ChronografV2). |
System. |
note | note (required). |
System. |
showNoteWhenEmpty | If true, will display note when empty (required). |
System. |
xColumn | xColumn (required). |
List<System. |
fillColumns | fillColumns (required). |
List<System. |
xDomain | xDomain (required). |
System. |
xAxisLabel | xAxisLabel (required). |
Histogram |
position | position (required). |
System. |
binCount | binCount (required). |
System. |
legendColorizeRows | legendColorizeRows. |
System. |
legendHide | legendHide. |
System. |
legendOpacity | legendOpacity. |
System. |
legendOrientationThreshold | legendOrientationThreshold. |
Properties
BinCount
Gets or Sets BinCount
Declaration
public int? BinCount { get; set; }
Property Value
Type | Description |
---|---|
System. |
Colors
Colors define color encoding of data into a visualization
Declaration
public List<DashboardColor> Colors { get; set; }
Property Value
Type | Description |
---|---|
List<Dashboard |
Colors define color encoding of data into a visualization |
FillColumns
Gets or Sets FillColumns
Declaration
public List<string> FillColumns { get; set; }
Property Value
Type | Description |
---|---|
List<System. |
LegendColorizeRows
Gets or Sets LegendColorizeRows
Declaration
public bool? LegendColorizeRows { get; set; }
Property Value
Type | Description |
---|---|
System. |
LegendHide
Gets or Sets LegendHide
Declaration
public bool? LegendHide { get; set; }
Property Value
Type | Description |
---|---|
System. |
LegendOpacity
Gets or Sets LegendOpacity
Declaration
public float? LegendOpacity { get; set; }
Property Value
Type | Description |
---|---|
System. |
LegendOrientationThreshold
Gets or Sets LegendOrientationThreshold
Declaration
public int? LegendOrientationThreshold { get; set; }
Property Value
Type | Description |
---|---|
System. |
Note
Gets or Sets Note
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System. |
Position
Gets or Sets Position
Declaration
public HistogramViewProperties.PositionEnum Position { get; set; }
Property Value
Type | Description |
---|---|
Histogram |
Queries
Gets or Sets Queries
Declaration
public List<DashboardQuery> Queries { get; set; }
Property Value
Type | Description |
---|---|
List<Dashboard |
Shape
Gets or Sets Shape
Declaration
public HistogramViewProperties.ShapeEnum Shape { get; set; }
Property Value
Type | Description |
---|---|
Histogram |
ShowNoteWhenEmpty
If true, will display note when empty
Declaration
public bool? ShowNoteWhenEmpty { get; set; }
Property Value
Type | Description |
---|---|
System. |
If true, will display note when empty |
Type
Gets or Sets Type
Declaration
public HistogramViewProperties.TypeEnum Type { get; set; }
Property Value
Type | Description |
---|---|
Histogram |
XAxisLabel
Gets or Sets XAxisLabel
Declaration
public string XAxisLabel { get; set; }
Property Value
Type | Description |
---|---|
System. |
XColumn
Gets or Sets XColumn
Declaration
public string XColumn { get; set; }
Property Value
Type | Description |
---|---|
System. |
XDomain
Gets or Sets XDomain
Declaration
public List<float?> XDomain { get; set; }
Property Value
Type | Description |
---|---|
List<System. |
Methods
Equals(HistogramViewProperties)
Returns true if HistogramViewProperties instances are equal
Declaration
public bool Equals(HistogramViewProperties input)
Parameters
Type | Name | Description |
---|---|---|
Histogram |
input | Instance of HistogramViewProperties 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 |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System. |
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 presentation of the object |