Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd071fc9

Browse files
committed
Improve GraphChart Data
1 parent4e4280f commitd071fc9

File tree

1 file changed

+21
-17
lines changed
  • client/packages/lowcoder-comps/src/i18n/comps/locales

1 file changed

+21
-17
lines changed

‎client/packages/lowcoder-comps/src/i18n/comps/locales/enObj.tsx‎

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -410,23 +410,27 @@ export const enObj: I18nObjects = {
410410
]
411411
},
412412
defaultGraphChartOption:{
413-
color:{
414-
pointColor:"#0000ff",
415-
lineColor:"#00000033"
416-
},
417-
categories:[
418-
{name:"Nodes"},
419-
{name:"Edges"}
420-
],
421-
nodes:[
422-
{name:"Node 1",category:0},
423-
{name:"Node 2",category:0},
424-
{name:"Node 3",category:0}
425-
],
426-
links:[
427-
{source:"Node 1",target:"Node 2",category:1},
428-
{source:"Node 2",target:"Node 3",category:1}
429-
]
413+
color:{
414+
pointColor:"#4285F4",
415+
lineColor:"#00000045"
416+
},
417+
categories:[
418+
{name:"Person",itemStyle:{color:"#4285F4"}},
419+
{name:"Company",itemStyle:{color:"#34A853"}},
420+
{name:"Project",itemStyle:{color:"#EA4335"}}
421+
],
422+
nodes:[
423+
{id:"1",name:"John Smith",value:25,category:0,symbolSize:25},
424+
{id:"2",name:"Jane Doe",value:20,category:0,symbolSize:20},
425+
{id:"3",name:"Acme Inc",value:30,category:1,symbolSize:30},
426+
{id:"4",name:"Project X",value:25,category:2,symbolSize:25}
427+
],
428+
links:[
429+
{source:"1",target:"3",value:8,lineStyle:{width:2}},
430+
{source:"1",target:"4",value:6,lineStyle:{width:2}},
431+
{source:"2",target:"3",value:5,lineStyle:{width:1}},
432+
{source:"3",target:"4",value:9,lineStyle:{width:3}}
433+
]
430434
},
431435
defaultTreeChartOption:{
432436
data:[{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp