Skip to content

Commit 6ee9d15

Browse files
committed
Improve Sankey Chart component data
1 parent ffcef3c commit 6ee9d15

File tree

1 file changed

+14
-10
lines changed
  • client/packages/lowcoder-comps/src/i18n/comps/locales

1 file changed

+14
-10
lines changed

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -309,18 +309,22 @@ export const enObj: I18nObjects = {
309309
},
310310
defaultSankeyChartOption: {
311311
data: [
312-
{name: "Category A", color: '#67F9D8'},
313-
{name: "Category B", color: '#FFE434'},
314-
{name: "Category C", color: '#56A3F1'},
315-
{name: "Category D", color: '#FF917C'},
316-
{name: "Category E", color: '#FF6347'}
312+
{name: "Website Visits", color: '#3498db'},
313+
{name: "Product Page", color: '#2ecc71'},
314+
{name: "Cart", color: '#f39c12'},
315+
{name: "Checkout", color: '#e74c3c'},
316+
{name: "Purchase", color: '#9b59b6'},
317+
{name: "Abandoned", color: '#95a5a6'}
317318
],
318319
links: [
319-
{ source: 'Category A', target: 'Category B', value: 10 },
320-
{ source: 'Category A', target: 'Category C', value: 15 },
321-
{ source: 'Category B', target: 'Category D', value: 25 },
322-
{ source: 'Category C', target: 'Category D', value: 20 },
323-
{ source: 'Category D', target: 'Category E', value: 30 }
320+
{ source: 'Website Visits', target: 'Product Page', value: 1000 },
321+
{ source: 'Website Visits', target: 'Abandoned', value: 300 },
322+
{ source: 'Product Page', target: 'Cart', value: 700 },
323+
{ source: 'Product Page', target: 'Abandoned', value: 300 },
324+
{ source: 'Cart', target: 'Checkout', value: 400 },
325+
{ source: 'Cart', target: 'Abandoned', value: 300 },
326+
{ source: 'Checkout', target: 'Purchase', value: 350 },
327+
{ source: 'Checkout', target: 'Abandoned', value: 50 }
324328
]
325329
},
326330
defaultCandleStickChartOption: {

0 commit comments

Comments
 (0)