This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch custom-series-enhance
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 88c51a08a6c4ed323b0eb93e7f8ac43e3db2151a
Author: 100pah <sushuang0...@gmail.com>
AuthorDate: Wed May 13 02:12:08 2020 +0800

    fix: fix custom series api.size in polor.
---
 src/coord/polar/prepareCustom.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/coord/polar/prepareCustom.ts b/src/coord/polar/prepareCustom.ts
index 5a69988..1907f7f 100644
--- a/src/coord/polar/prepareCustom.ts
+++ b/src/coord/polar/prepareCustom.ts
@@ -24,6 +24,7 @@ import RadiusAxis from './RadiusAxis';
 
 function dataToCoordSize(this: Polar, dataSize: number[], dataItem: number[]) {
     // dataItem is necessary in log axis.
+    dataItem = dataItem || [0, 0];
     return zrUtil.map(['Radius', 'Angle'], function (dim, dimIdx) {
         const getterName = 'get' + dim + 'Axis' as 'getAngleAxis'| 
'getRadiusAxis';
         // TODO: TYPE Check Angle Axis


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to