You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by yu...@apache.org on 2020/01/08 06:55:16 UTC
[incubator-echarts] 01/01: fix-11081-code Don't use private
properties directly
This is an automated email from the ASF dual-hosted git repository.
yufeng04 pushed a commit to branch fix-11801-code
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 4f7206d610e8dee4e3c0d6c1a6ba07ed9c0274ce
Author: yufeng04 <74...@qq.com>
AuthorDate: Wed Jan 8 14:54:13 2020 +0800
fix-11081-code Don't use private properties directly
---
src/chart/radar/RadarSeries.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/chart/radar/RadarSeries.js b/src/chart/radar/RadarSeries.js
index 6bd5ee1..ba713d0 100644
--- a/src/chart/radar/RadarSeries.js
+++ b/src/chart/radar/RadarSeries.js
@@ -76,8 +76,8 @@ var RadarSeries = SeriesModel.extend({
for (var i = 0, len = values.length; i < len; i++) {
if (!isNaN(values[i])) {
- var indicatorAxis = coordSys._indicatorAxes[i];
- return coordSys.coordToPoint(indicatorAxis.dataToCoord(values[i]), i);
+ var indicatorAxes = coordSys.getIndicatorAxes();
+ return coordSys.coordToPoint(indicatorAxes[i].dataToCoord(values[i]), i);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org