StiChartAxisTitle Class
Namespace: Stimulsoft.Dashboard.Components.Chart
Inheritance
Implements: IStiJsonReportObject, IAsIs
Constructors
| Constructor | Description |
|---|---|
| constructor(Font font, string text, Color color, StringAlignment alignment, StiTitlePosition position, boolean visible) |
constructor(font: Font, text: string, color: Color, alignment: StringAlignment, position: StiTitlePosition, visible: boolean)
Parameters
- font (Font)
- text (string)
- color (Color)
- alignment (StringAlignment)
- position (StiTitlePosition)
- visible (boolean)
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[] | |
| alignment | any | Gets or sets title text alignment. |
| color | any | Gets or sets color which will be used for title drawing. |
| font | any | Gets or set font which will be used for axis title drawing. |
| position | any | Gets or sets title text position. |
| text | any | Gets or sets title text. |
| visible | any | Gets or sets visibility of axis. |