File tree Expand file tree Collapse file tree 2 files changed +47
-22
lines changed
client/packages/lowcoder-comps/src/i18n/comps/locales Expand file tree Collapse file tree 2 files changed +47
-22
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ export const en = {
6363 title : 'Title' ,
6464 defaultTitle : 'Tree Chart' ,
6565 tooltip : 'Tooltip' ,
66- defaultLeft : "10 " ,
66+ defaultLeft : "20 " ,
6767 left : "Left" ,
68- defaultRight : "10 " ,
68+ defaultRight : "20 " ,
6969 right : "Right" ,
7070 defaultTop : "20" ,
7171 top : "Top" ,
Original file line number Diff line number Diff line change @@ -421,26 +421,51 @@ export const enObj: I18nObjects = {
421421 } ,
422422 defaultTreeChartOption : {
423423 data : [ {
424- name : "Parent" ,
425- children : [
426- {
427- name : "Child 1" ,
428- children : [
429- { name : "Child 1-1" } ,
430- { name : "Child 1-2" }
431- ]
432- } ,
433- {
434- name : "Child 2" ,
435- children : [
436- { name : "Child 2-1" } ,
437- { name : "Child 2-2" }
438- ]
439- }
440- ]
441- } ] ,
442- pointColor : "#380e81" ,
443- lineColor : "#1a93b8" ,
424+ name : "Company Structure" ,
425+ children : [
426+ {
427+ name : "Executive" ,
428+ children : [
429+ { name : "CEO" , value : 1 } ,
430+ { name : "CFO" , value : 1 } ,
431+ { name : "COO" , value : 1 }
432+ ]
433+ } ,
434+ {
435+ name : "Product" ,
436+ children : [
437+ { name : "Engineering" , value : 25 } ,
438+ { name : "Design" , value : 10 } ,
439+ { name : "Product Management" , value : 8 }
440+ ]
441+ } ,
442+ {
443+ name : "Marketing" ,
444+ children : [
445+ { name : "Social Media" , value : 5 } ,
446+ { name : "Content" , value : 7 } ,
447+ { name : "Analytics" , value : 3 }
448+ ]
449+ }
450+ ]
451+ } ] ,
452+ pointColor : "#3498db" ,
453+ lineColor : "#95a5a6" ,
454+ label : {
455+ show : true ,
456+ position : "right" ,
457+ distance : 5 ,
458+ fontSize : 12 ,
459+ color : "#333"
460+ } ,
461+ emphasis : {
462+ focus : "descendant"
463+ } ,
464+ expandAndCollapse : true ,
465+ initialTreeDepth : 2 ,
466+ layout : "orthogonal" ,
467+ orient : "horizontal" ,
468+ symbolSize : 10
444469 } ,
445470 defaultTreemapChartOption : {
446471 data : [
You can’t perform that action at this time.
0 commit comments