@@ -10,14 +10,14 @@ import {
1010} from "../messagebox/MessageBox" ;
1111
1212/**
13- * @class ChartView
13+ * @class Chart
1414 * @deprecatedclass SuperMap.Components.Chart
1515 * @classdesc 图表组件
1616 * @version 9.1.2
1717 * @param {string } domID - 图表dom元素ID。
1818 * @param {Object } options - 可选参数。
1919 * @param {string } options.type - 图表类型。
20- * @param {ChartView .Datasets } options.datasets - 数据来源
20+ * @param {Chart .Datasets } options.datasets - 数据来源
2121 * @param {Array.<Object> } options.chartOptions - 图表可选参数。
2222 * @param {Array.<Object> } options.chartOptions.xAxis - 图表X轴。
2323 * @param {string } options.chartOptions.xAxis.field - 图表X轴字段名。
@@ -29,7 +29,7 @@ import {
2929 * @usage
3030 */
3131/**
32- * @typedef {Object } ChartView .Datasets - 数据来源
32+ * @typedef {Object } Chart .Datasets - 数据来源
3333 * @property {string } [type = 'iServer'] - 服务类型 iServer, iPortal。
3434 * @property {string } url - 服务url地址。
3535 * @property {boolean } [withCredentials = false] - 设置请求是否带cookie
@@ -50,7 +50,7 @@ export class ChartView {
5050 }
5151
5252 /**
53- * @function ChartView .prototype.onAdd
53+ * @function Chart .prototype.onAdd
5454 * @description 创建图表之后成功回调
5555 * @param {function } addChart - 回调函数
5656 */
@@ -59,7 +59,7 @@ export class ChartView {
5959 }
6060
6161 /**
62- * @function ChartView .prototype._fillDataToView
62+ * @function Chart .prototype._fillDataToView
6363 * @description 填充数据到 view。
6464 * @private
6565 */
@@ -75,23 +75,23 @@ export class ChartView {
7575 }
7676
7777 /**
78- * @function ChartView .prototype.getStyle
78+ * @function Chart .prototype.getStyle
7979 * @description 获取图表样式。
8080 */
8181 getStyle ( ) {
8282 return this . viewModel . getStyle ( )
8383 }
8484
8585 /**
86- * @function ChartView .prototype.getFeatures
86+ * @function Chart .prototype.getFeatures
8787 * @description 获取地图服务,数据服务请求返回的数据。
8888 */
8989 getFeatures ( ) {
9090 return this . viewModel . getFeatures ( ) ;
9191 }
9292
9393 /**
94- * @function ChartView .prototype.setStyle
94+ * @function Chart .prototype.setStyle
9595 * @description 设置图表样式。
9696 * @param {Object } style - 图表样式 参考Echarts-options样式设置
9797 */
@@ -101,7 +101,7 @@ export class ChartView {
101101 }
102102
103103 /**
104- * @function ChartView .prototype.changeType
104+ * @function Chart .prototype.changeType
105105 * @description 改变图表类型
106106 * @param {string } type - 图表类型
107107 */
@@ -114,9 +114,9 @@ export class ChartView {
114114 }
115115
116116 /**
117- * @function ChartView .prototype.updateData
117+ * @function Chart .prototype.updateData
118118 * @description 更新图表数据
119- * @param {ChartView .Datasets } datasets - 数据来源
119+ * @param {Chart .Datasets } datasets - 数据来源
120120 * @param {Object } chartOption - X,Y轴信息
121121 */
122122 updateData ( datasets , chartOption ) {
@@ -130,7 +130,7 @@ export class ChartView {
130130 }
131131
132132 /**
133- * @function ChartView .prototype._createChart
133+ * @function Chart .prototype._createChart
134134 * @description 创建图表
135135 * @private
136136 * @param {Object } data - 图表数据
@@ -150,7 +150,7 @@ export class ChartView {
150150 }
151151
152152 /**
153- * @function ChartView .prototype._updateChart
153+ * @function Chart .prototype._updateChart
154154 * @description 更新图表
155155 * @private
156156 * @param {Object } options - 图表参数
0 commit comments