Constructor Summary
Public Constructor | ||
public |
constructor(id: String, options: Object) Constructor |
Public Constructors
public constructor(id: String, options: Object) source
Constructor
Params:
Name | Type | Attribute | Description |
id | String | chart id |
|
options | Object | config params |
|
options.title | Object | the title object. |
|
options.title.text | String | this chart can be given a title by specifying the text property of the title object. |
|
options.title.position | String | the position option of the title object. The title location is controlled via the position option of the title object. Available options are:
|
|
options.legend | Object | the legend object.. |
|
options.legend.visible | Boolean | specifies whether the legend will be initially visible. |
|
options.legend.position | String | the position option of the legend object. The legend position is also controllable. The supported position values are:
|
|
options.series | Array | the series option of the chart. |
|
options.series.data | Array | the data source of the widget which is used to render chart. |
|
options.series.data.category | String | the categories (dates) for all series are sorted and merged during data binding. |
|
options.series.data.value | String | Number | the statistics field value. |
|
options.series.data.color | String | the categories display color. |
|
options.series.labels | Object | the labels option of the chart. |
|
options.series.labels.visible | Boolean | specifies whether the label will be initially visible.(default: hide). |
|
options.series.labels.template | String | labels display template. |
|
options.series.tooltip.visible | Boolean | specifies whether the tooltip will be initially visible.(default: hide). |
|
options.series.tooltip.template | String | tooltip display template. |