@@ -709,9 +709,9 @@ export function getEchartsConfig(
709
709
width : props . progressBarWidth ,
710
710
color : [ [ 1 , props ?. clockGaugeOption ?. data ?. map ( data => data . outlineColor ) [ 0 ] ] ] ,
711
711
shadowColor : props ?. chartStyle ?. chartShadowColor || theme ?. chartStyle ?. shadowColor ,
712
- shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
713
- shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
714
- shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
712
+ shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
713
+ shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
714
+ shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
715
715
}
716
716
} ,
717
717
axisTick : {
@@ -720,9 +720,9 @@ export function getEchartsConfig(
720
720
width : props . axisTickWidth ,
721
721
color : props . axisTickColor ,
722
722
shadowColor : props ?. chartStyle ?. chartShadowColor + "55" || theme ?. chartStyle ?. shadowColor + "55" ,
723
- shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
724
- shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
725
- shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
723
+ shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
724
+ shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
725
+ shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
726
726
}
727
727
} ,
728
728
splitLine : {
@@ -731,9 +731,9 @@ export function getEchartsConfig(
731
731
width : Number ( props . axisTickWidth ) * 1.5 ,
732
732
color : props . axisTickColor ,
733
733
shadowColor : props ?. chartStyle ?. chartShadowColor + "55" || theme ?. chartStyle ?. shadowColor + "55" ,
734
- shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
735
- shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
736
- shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
734
+ shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
735
+ shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
736
+ shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
737
737
}
738
738
} ,
739
739
axisLabel : {
@@ -754,9 +754,9 @@ export function getEchartsConfig(
754
754
itemStyle : {
755
755
color : props ?. clockGaugeOption ?. data ?. map ( data => data . hour ) [ 0 ] ?. color ,
756
756
shadowColor : props ?. chartStyle ?. chartShadowColor + "55" || theme ?. chartStyle ?. shadowColor + "55" ,
757
- shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
758
- shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
759
- shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
757
+ shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
758
+ shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
759
+ shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
760
760
}
761
761
} ,
762
762
detail : {
@@ -799,9 +799,9 @@ export function getEchartsConfig(
799
799
itemStyle : {
800
800
color : props ?. clockGaugeOption ?. data ?. map ( data => data . minute ) [ 0 ] ?. color ,
801
801
shadowColor : props ?. chartStyle ?. chartShadowColor + "55" || theme ?. chartStyle ?. shadowColor + "55" ,
802
- shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
803
- shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
804
- shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
802
+ shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
803
+ shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
804
+ shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
805
805
}
806
806
} ,
807
807
detail : {
@@ -845,9 +845,9 @@ export function getEchartsConfig(
845
845
itemStyle : {
846
846
color : props ?. clockGaugeOption ?. data ?. map ( data => data . second ) [ 0 ] ?. color ,
847
847
shadowColor : props ?. chartStyle ?. chartShadowColor + "55" || theme ?. chartStyle ?. shadowColor + "55" ,
848
- shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
849
- shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
850
- shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
848
+ shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
849
+ shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
850
+ shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
851
851
}
852
852
} ,
853
853
anchor : {
@@ -857,9 +857,9 @@ export function getEchartsConfig(
857
857
itemStyle : {
858
858
color : props ?. clockGaugeOption ?. data ?. map ( data => data . anchor ) [ 0 ] ?. color ,
859
859
shadowColor : props ?. chartStyle ?. chartShadowColor + "55" || theme ?. chartStyle ?. shadowColor + "55" ,
860
- shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
861
- shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
862
- shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
860
+ shadowBlur : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
861
+ shadowOffsetX : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
862
+ shadowOffsetY : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 2 ] || theme ?. chartStyle ?. boxShadow && theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 2 ]
863
863
}
864
864
} ,
865
865
detail : {
0 commit comments