StiGaugeLabels Class
Namespace: Stimulsoft.Dashboard.Components.Gauge
Inheritance
Implements: IStiJsonReportObject
Constructors
| Constructor | Description |
|---|---|
| constructor(boolean visible, StiLabelPlacement placement, StiLabelRotationMode rotationMode) |
constructor(visible: boolean, placement: StiLabelPlacement, rotationMode: StiLabelRotationMode)
Parameters
- visible (boolean)
- placement (StiLabelPlacement)
- rotationMode (StiLabelRotationMode)
Methods
| Method | Returns | Description |
|---|---|---|
| clone | StiGaugeLabels | Creates a new object that is a copy of the current instance. |
| implements | any[] | |
| loadFromJsonObject | void | |
| loadFromXml | void | |
| meta | StiMeta[] | |
| saveToJsonObject | StiJson |
Method Details
clone
clone(): StiGaugeLabels
Creates a new object that is a copy of the current instance.
Returns StiGaugeLabels — A new object that is a copy of this instance.
implements
implements(): any[]
Returns any[]
loadFromJsonObject
loadFromJsonObject(j: StiJson): void
Parameters
- j (StiJson)
loadFromXml
loadFromXml(xn: XmlNode): void
Parameters
- xn (XmlNode)
meta
meta(): StiMeta[]
Returns StiMeta[]
saveToJsonObject
saveToJsonObject(mode: StiJsonSaveMode): StiJson
Parameters
- mode (StiJsonSaveMode)
Returns StiJson
Fields
| Field | Type | Description |
|---|---|---|
| IStiGaugeLabels | any | |
| _hash | StiMeta[] | |
| placement | any | Gets or sets the placement of the tick relative to the scale. |
| rotationMode | any | Gets or sets the rotation mode of labels. |
| visible | any | Gets or sets visibility of labels. |