MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / setChartsType

Method setChartsType

src/openlayers/overlay/Graph.js:81–84  ·  view source on GitHub ↗

* @function Graph.prototype.setChartsType * @description 设置图表类型,此函数可动态改变图表类型。在调用此函数前请通过 chartsSetting 为新类型的图表做相关配置。 * @param {string} chartsType - 图表类型。目前可用:"Bar","Bar3D","Line","Point","Pie","Ring"。

(chartsType)

Source from the content-addressed store, hash-verified

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

Callers 3

GraphSpec.jsFile · 0.45

Calls 1

redrawMethod · 0.95

Tested by

no test coverage detected