StiMeter Class
Namespace: Stimulsoft.Dashboard.Components
Inheritance
Implements: IStiMeter, IStiLocalizedMeter, IStiJsonReportObject
Constructors
| Constructor | Description |
|---|---|
| constructor(string key, string expression, string label) |
constructor(key: string, expression: string, label: string)
Parameters
- key (string)
- expression (string)
- label (string)
Properties
| Property | Type | Description |
|---|---|---|
| localizedName | string | Localized name of this component type. |
Methods
| Method | Returns | Description |
|---|---|---|
| clone | any | |
| getUniqueCode | number | |
| implements | any[] | |
| isDefault | boolean | |
| loadFromJsonObject | void | |
| loadFromString | void | |
| loadFromXml | void | |
| meta | StiMeta[] | |
| saveToJsonObject | StiJson | |
| saveToString | string | |
| toString | string |
Method Details
clone
clone(cloneProperties: any, cloneComponents: any): any
Parameters
- cloneProperties (any)
- cloneComponents (any)
Returns any
getUniqueCode
getUniqueCode(): number
Returns number
implements
implements(): any[]
Returns any[]
isDefault
isDefault(): boolean
Returns boolean
loadFromJsonObject
loadFromJsonObject(j: StiJson): void
Parameters
- j (StiJson)
loadFromString
loadFromString(str: string): void
Parameters
- str (string)
loadFromXml
loadFromXml(xn: XmlNode): void
Parameters
- xn (XmlNode)
meta
meta(): StiMeta[]
Returns StiMeta[]
saveToJsonObject
saveToJsonObject(mode: StiJsonSaveMode): StiJson
Parameters
- mode (StiJsonSaveMode)
Returns StiJson
saveToString
saveToString(): string
Returns string
toString
toString(): string
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| _hash | StiMeta[] | |
| expression | any | |
| hashCode | any | |
| hashCode | any | |
| hashCode | any | |
| ident | StiMeterIdent | ID code of this meter. Used in JSON saving. |
| key | string | Gets or sets unically object identificator. |
| label | any |