@@ -6,8 +6,9 @@ import echarts from "echarts";
66import { ChartViewModel } from "./ChartViewModel" ;
77
88/**
9- * @class SuperMap.Widgets.ChartView
9+ * @class SuperMap.Widgets.Chart
1010 * @classdesc 图表微件
11+ * @version 9.1.1
1112 * @param {string } domID - 图表dom元素ID。
1213 * @param {Object } options - 可选参数。
1314 * @param {string } options.type - 图表类型。
@@ -32,7 +33,7 @@ export class ChartView {
3233 }
3334
3435 /**
35- * @function SuperMap.Widgets.ChartView .prototype.onAdd
36+ * @function SuperMap.Widgets.Chart .prototype.onAdd
3637 * @description 创建图表之后成功回调
3738 * @param {function } addChart - 回调函数
3839 */
@@ -41,7 +42,7 @@ export class ChartView {
4142 }
4243
4344 /**
44- * @function SuperMap.Widgets.ChartView .prototype._fillDataToView
45+ * @function SuperMap.Widgets.Chart .prototype._fillDataToView
4546 * @description 填充数据到 view。
4647 * @private
4748 */
@@ -51,23 +52,23 @@ export class ChartView {
5152 }
5253
5354 /**
54- * @function SuperMap.Widgets.ChartView .prototype.getStyle
55+ * @function SuperMap.Widgets.Chart .prototype.getStyle
5556 * @description 获取图表样式。
5657 */
5758 getStyle ( ) {
5859 return this . viewModel . getStyle ( )
5960 }
6061
6162 /**
62- * @function SuperMap.Widgets.ChartView .prototype.getFeatures
63+ * @function SuperMap.Widgets.Chart .prototype.getFeatures
6364 * @description 获取地图服务,数据服务请求返回的数据。
6465 */
6566 getFeatures ( ) {
6667 return this . viewModel . getFeatures ( ) ;
6768 }
6869
6970 /**
70- * @function SuperMap.Widgets.ChartView .prototype.setStyle
71+ * @function SuperMap.Widgets.Chart .prototype.setStyle
7172 * @description 设置图表样式。
7273 * @param {Object } style - 图表样式 参考Echarts-options样式设置
7374 */
@@ -77,7 +78,7 @@ export class ChartView {
7778 }
7879
7980 /**
80- * @function SuperMap.Widgets.ChartView .prototype.changeType
81+ * @function SuperMap.Widgets.Chart .prototype.changeType
8182 * @description 改变图表类型
8283 * @param {string } type - 图表类型
8384 */
@@ -88,7 +89,7 @@ export class ChartView {
8889 }
8990
9091 /**
91- * @function SuperMap.Widgets.ChartView .prototype.updateData
92+ * @function SuperMap.Widgets.Chart .prototype.updateData
9293 * @description 更新图表数据
9394 * @param {string } url - 数据源地址
9495 * @param {Object } queryInfo - 查询条件
@@ -105,7 +106,7 @@ export class ChartView {
105106 }
106107
107108 /**
108- * @function SuperMap.Widgets.ChartView .prototype._createChart
109+ * @function SuperMap.Widgets.Chart .prototype._createChart
109110 * @description 创建图表
110111 * @private
111112 * @param {Object } data - 图表数据
@@ -124,7 +125,7 @@ export class ChartView {
124125 }
125126
126127 /**
127- * @function SuperMap.Widgets.ChartView .prototype._updateChart
128+ * @function SuperMap.Widgets.Chart .prototype._updateChart
128129 * @description 更新图表
129130 * @private
130131 * @param {Object } options - 图表参数
0 commit comments