You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2020/12/16 03:00:01 UTC

[incubator-echarts] branch master updated: fix(bar-race): fix default categorySortInfo value bug

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

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new 116758f  fix(bar-race): fix default categorySortInfo value bug
116758f is described below

commit 116758f2bce3290caebc465d5e94b04084885dd5
Author: Ovilia <zw...@gmail.com>
AuthorDate: Wed Dec 16 10:33:32 2020 +0800

    fix(bar-race): fix default categorySortInfo value bug
    
    categorySortInfo default value changed from [] to undefined in 84ead77
    but extraOption did not change accordingly
---
 src/coord/cartesian/AxisModel.ts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/coord/cartesian/AxisModel.ts b/src/coord/cartesian/AxisModel.ts
index 033eef0..39bc942 100644
--- a/src/coord/cartesian/AxisModel.ts
+++ b/src/coord/cartesian/AxisModel.ts
@@ -60,8 +60,7 @@ zrUtil.mixin(CartesianAxisModel, AxisModelCommonMixin);
 const extraOption: CartesianAxisOption = {
     // gridIndex: 0,
     // gridId: '',
-    offset: 0,
-    categorySortInfo: []
+    offset: 0
 };
 
 axisModelCreator<CartesianAxisOption, typeof CartesianAxisModel>('x', CartesianAxisModel, extraOption);


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