Skip to content

Commit 88a3454

Browse files
committed
Improve ThemeRiver Component
1 parent f81f755 commit 88a3454

File tree

1 file changed

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

1 file changed

+24
-21
lines changed

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

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -623,28 +623,31 @@ export const enObj: I18nObjects = {
623623
},
624624
defaultThemeriverChartOption: {
625625
data: [
626-
['2025-01-01', 12, 'Product A'],
627-
['2025-01-01', 10, 'Product B'],
628-
['2025-01-01', 15, 'Product C'],
629-
['2025-01-01', 8, 'Product D'],
630-
['2025-01-02', 14, 'Product A'],
631-
['2025-01-02', 9, 'Product B'],
632-
['2025-01-02', 16, 'Product C'],
633-
['2025-01-02', 7, 'Product D'],
634-
['2025-01-03', 16, 'Product A'],
635-
['2025-01-03', 12, 'Product B'],
636-
['2025-01-03', 18, 'Product C'],
637-
['2025-01-03', 10, 'Product D'],
638-
['2025-01-04', 20, 'Product A'],
639-
['2025-01-04', 15, 'Product B'],
640-
['2025-01-04', 22, 'Product C'],
641-
['2025-01-04', 12, 'Product D'],
642-
['2025-01-05', 18, 'Product A'],
643-
['2025-01-05', 13, 'Product B'],
644-
['2025-01-05', 20, 'Product C'],
645-
['2025-01-05', 11, 'Product D']
626+
// Technology sector data - January to December
627+
['2024-01', 125, 'Smartphones'],
628+
['2024-02', 138, 'Smartphones'],
629+
['2024-03', 152, 'Smartphones'],
630+
['2024-04', 167, 'Smartphones'],
631+
632+
['2024-01', 95, 'Laptops'],
633+
['2024-02', 110, 'Laptops'],
634+
['2024-03', 125, 'Laptops'],
635+
['2024-04', 120, 'Laptops'],
636+
637+
['2024-01', 55, 'Tablets'],
638+
['2024-02', 60, 'Tablets'],
639+
['2024-03', 65, 'Tablets'],
640+
['2024-04', 72, 'Tablets'],
641+
642+
['2024-01', 30, 'Wearables'],
643+
['2024-02', 42, 'Wearables'],
644+
['2024-03', 55, 'Wearables'],
645+
['2024-04', 68, 'Wearables'],
646+
647+
648+
646649
],
647-
color: ['#5470C6', '#91CC75', '#FAC858', '#6b51a1']
650+
color: ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4']
648651
},
649652

650653
defaultMapJsonOption: defaultMapData,

0 commit comments

Comments
 (0)