Class MosaicViewProperties
MosaicViewProperties
Implements
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class MosaicViewProperties : ViewProperties, IEquatable<MosaicViewProperties>
Constructors
MosaicViewProperties()
Initializes a new instance of the MosaicViewProperties class.
Declaration
protected MosaicViewProperties()
MosaicViewProperties(String, MosaicViewProperties.TypeEnum, List<DashboardQuery>, List<String>, MosaicViewProperties.ShapeEnum, String, Nullable<Boolean>, String, List<String>, Nullable<Int32>, Nullable<Single>, Nullable<Single>, String, List<String>, List<String>, List<String>, List<Nullable<Decimal>>, List<Nullable<Decimal>>, String, String, String, String, String, String, Nullable<MosaicViewProperties.HoverDimensionEnum>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Single>, Nullable<Int32>)
Initializes a new instance of the MosaicViewProperties class.
Declaration
public MosaicViewProperties(string timeFormat = null, MosaicViewProperties.TypeEnum type = default(MosaicViewProperties.TypeEnum), List<DashboardQuery> queries = null, List<string> colors = null, MosaicViewProperties.ShapeEnum shape = default(MosaicViewProperties.ShapeEnum), string note = null, bool? showNoteWhenEmpty = null, string xColumn = null, List<string> generateXAxisTicks = null, int? xTotalTicks = null, float? xTickStart = null, float? xTickStep = null, string yLabelColumnSeparator = null, List<string> yLabelColumns = null, List<string> ySeriesColumns = null, List<string> fillColumns = null, List<decimal?> xDomain = null, List<decimal?> yDomain = null, string xAxisLabel = null, string yAxisLabel = null, string xPrefix = null, string xSuffix = null, string yPrefix = null, string ySuffix = null, MosaicViewProperties.HoverDimensionEnum? hoverDimension = null, bool? legendColorizeRows = null, bool? legendHide = null, float? legendOpacity = null, int? legendOrientationThreshold = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | timeFormat | timeFormat. |
MosaicViewProperties.TypeEnum | type | type (required) (default to TypeEnum.Mosaic). |
List<DashboardQuery> | queries | queries (required). |
List<System.String> | colors | Colors define color encoding of data into a visualization (required). |
MosaicViewProperties.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 | xColumn | xColumn (required). |
List<System.String> | generateXAxisTicks | generateXAxisTicks. |
System.Nullable<System.Int32> | xTotalTicks | xTotalTicks. |
System.Nullable<System.Single> | xTickStart | xTickStart. |
System.Nullable<System.Single> | xTickStep | xTickStep. |
System.String | yLabelColumnSeparator | yLabelColumnSeparator. |
List<System.String> | yLabelColumns | yLabelColumns. |
List<System.String> | ySeriesColumns | ySeriesColumns (required). |
List<System.String> | fillColumns | fillColumns (required). |
List<System.Nullable<System.Decimal>> | xDomain | xDomain (required). |
List<System.Nullable<System.Decimal>> | yDomain | yDomain (required). |
System.String | xAxisLabel | xAxisLabel (required). |
System.String | yAxisLabel | yAxisLabel (required). |
System.String | xPrefix | xPrefix (required). |
System.String | xSuffix | xSuffix (required). |
System.String | yPrefix | yPrefix (required). |
System.String | ySuffix | ySuffix (required). |
System.Nullable<MosaicViewProperties.HoverDimensionEnum> | hoverDimension | hoverDimension. |
System.Nullable<System.Boolean> | legendColorizeRows | legendColorizeRows. |
System.Nullable<System.Boolean> | legendHide | legendHide. |
System.Nullable<System.Single> | legendOpacity | legendOpacity. |
System.Nullable<System.Int32> | legendOrientationThreshold | legendOrientationThreshold. |
Properties
Colors
Colors define color encoding of data into a visualization
Declaration
public List<string> Colors { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> | 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.String> |
GenerateXAxisTicks
Gets or Sets GenerateXAxisTicks
Declaration
public List<string> GenerateXAxisTicks { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> |
HoverDimension
Gets or Sets HoverDimension
Declaration
public MosaicViewProperties.HoverDimensionEnum? HoverDimension { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MosaicViewProperties.HoverDimensionEnum> |
LegendColorizeRows
Gets or Sets LegendColorizeRows
Declaration
public bool? LegendColorizeRows { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
LegendHide
Gets or Sets LegendHide
Declaration
public bool? LegendHide { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
LegendOpacity
Gets or Sets LegendOpacity
Declaration
public float? LegendOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
LegendOrientationThreshold
Gets or Sets LegendOrientationThreshold
Declaration
public int? LegendOrientationThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Note
Gets or Sets Note
Declaration
public string Note { 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 MosaicViewProperties.ShapeEnum Shape { get; set; }
Property Value
Type | Description |
---|---|
MosaicViewProperties.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 |
TimeFormat
Gets or Sets TimeFormat
Declaration
public string TimeFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or Sets Type
Declaration
public MosaicViewProperties.TypeEnum Type { get; set; }
Property Value
Type | Description |
---|---|
MosaicViewProperties.TypeEnum |
XAxisLabel
Gets or Sets XAxisLabel
Declaration
public string XAxisLabel { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XColumn
Gets or Sets XColumn
Declaration
public string XColumn { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XDomain
Gets or Sets XDomain
Declaration
public List<decimal?> XDomain { get; set; }
Property Value
Type | Description |
---|---|
List<System.Nullable<System.Decimal>> |
XPrefix
Gets or Sets XPrefix
Declaration
public string XPrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XSuffix
Gets or Sets XSuffix
Declaration
public string XSuffix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XTickStart
Gets or Sets XTickStart
Declaration
public float? XTickStart { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
XTickStep
Gets or Sets XTickStep
Declaration
public float? XTickStep { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
XTotalTicks
Gets or Sets XTotalTicks
Declaration
public int? XTotalTicks { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
YAxisLabel
Gets or Sets YAxisLabel
Declaration
public string YAxisLabel { get; set; }
Property Value
Type | Description |
---|---|
System.String |
YDomain
Gets or Sets YDomain
Declaration
public List<decimal?> YDomain { get; set; }
Property Value
Type | Description |
---|---|
List<System.Nullable<System.Decimal>> |
YLabelColumns
Gets or Sets YLabelColumns
Declaration
public List<string> YLabelColumns { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> |
YLabelColumnSeparator
Gets or Sets YLabelColumnSeparator
Declaration
public string YLabelColumnSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String |
YPrefix
Gets or Sets YPrefix
Declaration
public string YPrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
YSeriesColumns
Gets or Sets YSeriesColumns
Declaration
public List<string> YSeriesColumns { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> |
YSuffix
Gets or Sets YSuffix
Declaration
public string YSuffix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(MosaicViewProperties)
Returns true if MosaicViewProperties instances are equal
Declaration
public bool Equals(MosaicViewProperties input)
Parameters
Type | Name | Description |
---|---|---|
MosaicViewProperties | input | Instance of MosaicViewProperties 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 |