You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/06/02 17:54:34 UTC
[incubator-echarts] 04/10: fix: fix custom series api.size in polor.
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 <su...@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-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org