Skip to content

Commit 8c4f6f1

Browse files
committed
de: Migrate charts to echarts
1 parent 8d24bdd commit 8c4f6f1

22 files changed

+2989
-1976
lines changed

ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"codemirror": "6.0.1",
3535
"color-convert": "^2.0.1",
3636
"d3": "^7.9.0",
37+
"echarts": "^5.6.0",
3738
"devtools-protocol": "0.0.1561482",
3839
"esbuild": "^0.21.5",
3940
"events": "^3.3.0",

ui/pnpm-lock.yaml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/src/assets/theme_provider.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@
5050
--pf-color-warning: rgb(232, 158, 0);
5151
--pf-color-text-on-warning: var(--pf-color-text);
5252

53+
// Chart color palette for data visualization
54+
--pf-chart-color-1: #4285f4; // Google Blue
55+
--pf-chart-color-2: #ea4335; // Google Red
56+
--pf-chart-color-3: #fbbc04; // Google Yellow
57+
--pf-chart-color-4: #34a853; // Google Green
58+
--pf-chart-color-5: #ff6d01; // Orange
59+
--pf-chart-color-6: #46bdc6; // Cyan
60+
--pf-chart-color-7: #9334e6; // Purple
61+
--pf-chart-color-8: #185abc; // Dark Blue
62+
5363
--pf-color-track-summary-collapsed: #f4fafb;
5464
--pf-color-track-summary-expanded: #262f3b;
5565
--pf-color-track-summary-expanded-text: #e8eaed;
@@ -90,6 +100,16 @@
90100
--pf-color-warning: rgb(244, 188, 67);
91101
--pf-color-text-on-warning: #333;
92102

103+
// Chart color palette for data visualization (brighter for dark mode)
104+
--pf-chart-color-1: #5e97f6; // Lighter Blue
105+
--pf-chart-color-2: #f28b82; // Lighter Red
106+
--pf-chart-color-3: #fdd663; // Lighter Yellow
107+
--pf-chart-color-4: #81c995; // Lighter Green
108+
--pf-chart-color-5: #ff8866; // Lighter Orange
109+
--pf-chart-color-6: #78d9e4; // Lighter Cyan
110+
--pf-chart-color-7: #c58af9; // Lighter Purple
111+
--pf-chart-color-8: #669df6; // Lighter Dark Blue
112+
93113
--pf-color-track-summary-collapsed: #2f3437;
94114
--pf-color-track-summary-expanded: #454d55;
95115
--pf-color-track-summary-expanded-text: #e8eaed;

0 commit comments

Comments
 (0)