* @function GraphThemeLayer.prototype.setChartsType * @description 设置图表类型,此函数可动态改变图表类型。在调用此函数前请通过 chartsSetting 为新类型的图表做相关配置。 * @param {string} [chartsType] - 图表类型。目前可用:"Bar", "Line", "Pie"。
(chartsType)
| 60 | * @param {string} [chartsType] - 图表类型。目前可用:"Bar", "Line", "Pie"。 |
| 61 | */ |
| 62 | setChartsType(chartsType) { |
| 63 | this.chartsType = chartsType; |
| 64 | this.redraw(); |
| 65 | } |
| 66 | |
| 67 | /** |
| 68 | * @function GraphThemeLayer.prototype.addFeatures |