StiGaugeTarget Class
Namespace: Stimulsoft.Dashboard.Components.Gauge
Inheritance
Implements: IStiJsonReportObject
Constructors
| Constructor | Description |
|---|---|
| constructor(boolean showLabel, StiPlacement placement) |
constructor(showLabel: boolean, placement: StiPlacement)
Parameters
- showLabel (boolean)
- placement (StiPlacement)
Methods
| Method | Returns | Description |
|---|---|---|
| clone | StiGaugeTarget | 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(): StiGaugeTarget
Creates a new object that is a copy of the current instance.
Returns StiGaugeTarget — 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 |
|---|---|---|
| IStiGaugeTarget | any | |
| _hash | StiMeta[] | |
| placement | any | Gets or sets the placement of the tick relative to the scale. |
| showLabel | any | Gets or sets visibility of labels. |