@@ -152,7 +152,7 @@ export function getEchartsConfig(
152
152
"borderColor" : styleContainer ?. chartBorderColor || themeContainer ?. borderColor || 'inherit' ,
153
153
"borderWidth" : styleContainer ?. chartBorderWidth || themeContainer ?. borderWidth || detailBorderWidth ,
154
154
"borderType" : styleContainer ?. chartBorderStyle || themeContainer ?. borderType ,
155
- "borderRadius" : styleContainer ?. chartBorderRadius || themeContainer ?. borderRadius ,
155
+ "borderRadius" : Number ( styleContainer ?. chartBorderRadius || themeContainer ?. borderRadius ) ,
156
156
"backgroundColor" : styleContainer ?. chartBackgroundColor || themeContainer ?. backgroundColor || defaultBackgroundColor ,
157
157
"width" : styleContainer ?. detailSize ?. split ( 'px' ) [ 0 ] || themeContainer ?. detailSize . split ( 'px' ) [ 0 ] || 24 ,
158
158
"height" : styleContainer ?. detailSize ?. split ( 'px' ) [ 1 ] || themeContainer ?. detailSize . split ( 'px' ) [ 1 ] || 12 ,
@@ -218,7 +218,7 @@ export function getEchartsConfig(
218
218
"borderColor" : props ?. chartStyle ?. chartBorderColor || theme ?. chartStyle ?. borderColor ,
219
219
"borderWidth" : props ?. chartStyle ?. chartBorderWidth || theme ?. chartStyle ?. borderWidth ,
220
220
"borderType" : props ?. chartStyle ?. chartBorderStyle || theme ?. chartStyle ?. borderType ,
221
- "borderRadius" : props ?. chartStyle ?. chartBorderRadius || theme ?. chartStyle ?. borderRadius ,
221
+ "borderRadius" : Number ( props ?. chartStyle ?. chartBorderRadius || theme ?. chartStyle ?. borderRadius ) ,
222
222
"shadowColor" : props ?. chartStyle ?. chartShadowColor || theme ?. chartStyle ?. shadowColor ,
223
223
"shadowBlur" : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 0 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 0 ] ,
224
224
"shadowOffsetX" : props ?. chartStyle ?. chartBoxShadow ?. split ( 'px' ) [ 1 ] || theme ?. chartStyle ?. boxShadow ?. split ( 'px' ) [ 1 ] ,
@@ -386,7 +386,7 @@ export function getEchartsConfig(
386
386
anchor : {
387
387
show : true ,
388
388
showAbove : true ,
389
- size : 10 ,
389
+ size : Number ( props ?. pointerWidth ) * 1.5 ,
390
390
itemStyle : {
391
391
color : props ?. multiTitleGaugeOption ?. data [ 0 ] [ "value" ] . slice ( - 1 ) [ 0 ]
392
392
}
@@ -419,6 +419,10 @@ export function getEchartsConfig(
419
419
title : {
420
420
...styleWrapper ( props ?. labelStyle , theme ?. labelStyle , 16 ) ,
421
421
} ,
422
+ pointer : {
423
+ ...basicSeries . pointer ,
424
+ icon : props ?. multiTitlePointerIcon ,
425
+ } ,
422
426
detail : {
423
427
...styleWrapper ( props ?. legendStyle , theme ?. legendStyle , 16 , '#ffffff' , 0 , 'inherit' ) ,
424
428
formatter : props ?. multiTitleGaugeOption ?. data ?. map ( data => data . formatter ) [ 0 ] ,
@@ -535,17 +539,18 @@ export function getEchartsConfig(
535
539
show : false
536
540
} ,
537
541
progress : {
538
- " roundCap" : props . roundCap ,
542
+ roundCap : props ? .roundCap ,
539
543
show : true ,
540
- width : props ?. progressBarWidth ,
544
+ width : props ?. ringProgressBarWidth ,
541
545
overlap : false ,
542
546
clip : false ,
543
547
} ,
544
- // axisLine: {
545
- // lineStyle: {
546
- // width: 20 // Reduced from 40
547
- // }
548
- // },
548
+ axisLine : {
549
+ roundCap : props ?. roundCap ,
550
+ lineStyle : {
551
+ width : props ?. ringProgressBarWidth
552
+ }
553
+ } ,
549
554
splitLine : {
550
555
show : false
551
556
} ,
0 commit comments