File tree Expand file tree Collapse file tree 1 file changed +50
-31
lines changed
client/packages/lowcoder-comps/src/i18n/comps/locales Expand file tree Collapse file tree 1 file changed +50
-31
lines changed Original file line number Diff line number Diff line change @@ -535,48 +535,67 @@ export const enObj: I18nObjects = {
535
535
} ,
536
536
defaultSunburstChartOption : {
537
537
data : [
538
- {
539
- name : "Grandparent" ,
540
- children : [
541
- {
542
- name : "Parent A" ,
543
- children : [
544
- { name : "Child A1" , value : 10 } ,
545
- { name : "Child A2" , value : 20 }
546
- ]
547
- } ,
548
- {
549
- name : "Parent B" ,
550
- children : [
551
- { name : "Child B1" , value : 15 } ,
552
- { name : "Child B2" , value : 25 }
553
- ]
554
- }
555
- ]
556
- }
538
+ {
539
+ name : "Traffic" ,
540
+ children : [
541
+ {
542
+ name : "Direct" ,
543
+ value : 350 ,
544
+ children : [
545
+ { name : "New" , value : 200 } ,
546
+ { name : "Return" , value : 150 }
547
+ ]
548
+ } ,
549
+ {
550
+ name : "Social" ,
551
+ value : 300 ,
552
+ children : [
553
+ { name : "FB" , value : 120 } ,
554
+ { name : "IG" , value : 100 } ,
555
+ { name : "TW" , value : 80 }
556
+ ]
557
+ } ,
558
+ {
559
+ name : "Search" ,
560
+ value : 400 ,
561
+ children : [
562
+ { name : "Google" , value : 300 } ,
563
+ { name : "Bing" , value : 100 }
564
+ ]
565
+ }
566
+ ]
567
+ }
557
568
] ,
558
569
levels : [
559
570
{
560
571
itemStyle : {
561
- color : '#f6e58d'
562
- } ,
563
- } ,
564
- {
565
- itemStyle : {
566
- color : '#12e192'
567
- } ,
572
+ color : '#3498db' ,
573
+ borderWidth : 2 ,
574
+ borderColor : 'white'
575
+ }
568
576
} ,
569
577
{
570
578
itemStyle : {
571
- color : '#ffbe76'
572
- } ,
579
+ color : '#2ecc71' ,
580
+ borderWidth : 1 ,
581
+ borderColor : 'white'
582
+ }
573
583
} ,
574
584
{
575
585
itemStyle : {
576
- color : '#007979'
577
- } ,
586
+ color : '#e74c3c' ,
587
+ borderWidth : 1 ,
588
+ borderColor : 'white'
589
+ }
578
590
}
579
- ]
591
+ ] ,
592
+ label : {
593
+ show : true ,
594
+ formatter : '{b}' ,
595
+ fontSize : 12 ,
596
+ color : 'white'
597
+ } ,
598
+ radius : [ '20%' , '90%' ]
580
599
} ,
581
600
defaultCalendarChartOption : {
582
601
data :[
You can’t perform that action at this time.
0 commit comments