StiChartLegend Class
Namespace: Stimulsoft.Dashboard.Components.Chart
Inheritance
Implements: IStiJsonReportObject
Properties
| Property | Type | Description |
|---|---|---|
| visible | boolean | Gets or sets visibility of legend. |
Methods
| Method | Returns | Description |
|---|---|---|
| clone | any | 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(): any
Creates a new object that is a copy of the current instance.
Returns any — 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 |
|---|---|---|
| _hash | StiMeta[] | |
| columns | any | Gets or sets amount of columns. |
| direction | any | Gets or sets direction which used for series drawing in legend. |
| horAlignment | any | Gets or sets horizontal alignment of legend placement. |
| labels | any | Gets or sets legend labels settings. |
| title | any | Gets or sets legend title settings. |
| vertAlignment | any | Gets or sets vertical alignment of legend placement. |
| visibility | any | Gets or sets visibility of legend. |