Overview
Charts support comprehensive customization, allowing you to create more charts with comments based on basic charts.
You can customize the axis labels, labels, and tooltips of the coordinate axes. In custom functions for axis labels, this refers to the current value of the coordinate axes. In custom functions for labels and tooltips, this refers to the data point object. The following table introduces some common attributes.
Single Series Object Attribute
Attribute | Type | Description |
---|---|---|
this.points | Array | All data points in the current series |
this.name | String | The name of the current series, consistent with the series name shown in the legend |
this.type | String | The chart type of the current series The following figure shows the chart types that are currently included. |
Single Data Point Object Attribute
Attribute | Type | Description |
---|---|---|
this.name | String | The area name of the current data point in the area map, such as Jiangsu province and Nantong city |
this.seriesName | String | The name of the series where the current data point is located |
this.category | String | The name of the category where the data point is located in the axis chart |
this.categoryArray | Array | The name of the category array where the data point is located in the axis chart with multiple categories |
this.value | Number | The value corresponding to the data point on the value axis in the axis chart ![]() |
this.points | Array | All the points in the category where the current data point is located in the coordinate axis chart with a category axis All the points of different series included in the current area in the area map You are not advised to use the attribute in other types of charts. |
this.series | Object | The series where the current data point is located |
this.percentage | Number | The percentage of the current data point |
this.targetValue | Number | The target value of the gauge (excluding the pointer gauge) |
this.processes[this.processes.length - 1].name | Object | The name of the project where the data point is located in the Gantt chart |
this.startTime | Object | The start time of the current data point in the Gantt chart |
this.finishTime | Object | The end time of the current data point in the Gantt chart |
this.duration | Object | The duration of the current data point in the Gantt chart |
this.progress | Number | The progress of the current data point in the Gantt chart |
this.parent | Object | The data object of the parent node in the multi-level pie chart |
