* @function Graph.prototype.setChartsType * @description 设置图表类型,此函数可动态改变图表类型。在调用此函数前请通过 chartsSetting 为新类型的图表做相关配置。 * @param {string} chartsType - 图表类型。目前可用:"Bar","Bar3D","Line","Point","Pie","Ring"。
(chartsType)
| 79 | * @param {string} chartsType - 图表类型。目前可用:"Bar","Bar3D","Line","Point","Pie","Ring"。 |
| 80 | */ |
| 81 | setChartsType(chartsType) { |
| 82 | this.chartsType = chartsType; |
| 83 | this.redraw(); |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * @function Graph.prototype.addFeatures |
no test coverage detected