File tree Expand file tree Collapse file tree 10 files changed +436
-455
lines changed Expand file tree Collapse file tree 10 files changed +436
-455
lines changed Original file line number Diff line number Diff line change
1
+ src/util/mapData/china/*
2
+ src/util/mapData/rawData/china/*
Original file line number Diff line number Diff line change @@ -611,7 +611,6 @@ define(function(require) {
611
611
612
612
/**
613
613
* 构造函数默认执行的初始化方法,也用于创建实例后动态修改
614
- * @param {Object } newZr
615
614
* @param {Object } newSeries
616
615
* @param {Object } newComponent
617
616
*/
@@ -647,7 +646,6 @@ define(function(require) {
647
646
var serie ;
648
647
var seriesIndex ;
649
648
var dataIndex ;
650
- var categoryAxis ;
651
649
for ( var i = self . shapeList . length - 1 ; i >= 0 ; i -- ) {
652
650
seriesIndex = ecData . get ( self . shapeList [ i ] , 'seriesIndex' ) ;
653
651
if ( aniMap [ seriesIndex ] && ! aniMap [ seriesIndex ] [ 3 ] ) {
@@ -663,7 +661,7 @@ define(function(require) {
663
661
zr . delShape ( self . shapeList [ i ] . id ) ;
664
662
continue ;
665
663
}
666
- else if ( ! aniMap [ seriesIndex ] [ 2 ] && dataIndex == 0 ) {
664
+ else if ( ! aniMap [ seriesIndex ] [ 2 ] && dataIndex === 0 ) {
667
665
// 队尾加入删除头部
668
666
zr . delShape ( self . shapeList [ i ] . id ) ;
669
667
continue ;
Original file line number Diff line number Diff line change @@ -370,7 +370,6 @@ define(function(require) {
370
370
371
371
/**
372
372
* 构造函数默认执行的初始化方法,也用于创建实例后动态修改
373
- * @param {Object } newZr
374
373
* @param {Object } newSeries
375
374
* @param {Object } newComponent
376
375
*/
@@ -402,11 +401,9 @@ define(function(require) {
402
401
var x ;
403
402
var dx ;
404
403
var y ;
405
- var dy ;
406
404
var serie ;
407
405
var seriesIndex ;
408
406
var dataIndex ;
409
- var categoryAxis ;
410
407
for ( var i = 0 , l = self . shapeList . length ; i < l ; i ++ ) {
411
408
seriesIndex = self . shapeList [ i ] . _seriesIndex ;
412
409
if ( aniMap [ seriesIndex ] && ! aniMap [ seriesIndex ] [ 3 ] ) {
@@ -421,7 +418,7 @@ define(function(require) {
421
418
zr . delShape ( self . shapeList [ i ] . id ) ;
422
419
continue ;
423
420
}
424
- else if ( ! aniMap [ seriesIndex ] [ 2 ] && dataIndex == 0 ) {
421
+ else if ( ! aniMap [ seriesIndex ] [ 2 ] && dataIndex === 0 ) {
425
422
// 队尾加入删除头部
426
423
zr . delShape ( self . shapeList [ i ] . id ) ;
427
424
continue ;
Original file line number Diff line number Diff line change @@ -703,7 +703,6 @@ define(function(require) {
703
703
704
704
/**
705
705
* 构造函数默认执行的初始化方法,也用于创建实例后动态修改
706
- * @param {Object } newZr
707
706
* @param {Object } newSeries
708
707
* @param {Object } newComponent
709
708
*/
@@ -736,7 +735,6 @@ define(function(require) {
736
735
var dx ;
737
736
var y ;
738
737
var dy ;
739
- var serie ;
740
738
var seriesIndex ;
741
739
var pointList ;
742
740
var isHorizontal ; // 是否横向布局, isHorizontal;
@@ -806,7 +804,7 @@ define(function(require) {
806
804
continue ;
807
805
}
808
806
else if ( ! aniMap [ seriesIndex ] [ 2 ]
809
- && self . shapeList [ i ] . _dataIndex == 0
807
+ && self . shapeList [ i ] . _dataIndex === 0
810
808
) {
811
809
// 队尾加入删除头部
812
810
zr . delShape ( self . shapeList [ i ] . id ) ;
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ define(function(require) {
150
150
}
151
151
zr . refresh ( ) ;
152
152
}
153
- }
153
+ } ;
154
154
}
155
155
156
156
/**
@@ -842,7 +842,6 @@ define(function(require) {
842
842
843
843
/**
844
844
* 构造函数默认执行的初始化方法,也用于创建实例后动态修改
845
- * @param {Object } newZr
846
845
* @param {Object } newSeries
847
846
* @param {Object } newComponent
848
847
*/
Original file line number Diff line number Diff line change @@ -640,7 +640,6 @@ define(function(require) {
640
640
641
641
/**
642
642
* 构造函数默认执行的初始化方法,也用于创建实例后动态修改
643
- * @param {Object } newZr
644
643
* @param {Object } newSeries
645
644
* @param {Object } newComponent
646
645
*/
@@ -838,8 +837,8 @@ define(function(require) {
838
837
. when (
839
838
400 ,
840
839
{
841
- xStart :targeSector . style . xStart ,
842
- yStart :targeSector . style . yStart ,
840
+ xStart :targeSector . style . xStart ,
841
+ yStart :targeSector . style . yStart ,
843
842
xEnd : targeSector . style . xEnd ,
844
843
yEnd : targeSector . style . yEnd
845
844
}
You can’t perform that action at this time.
0 commit comments