Skip to content

Commit

Permalink
Try out uPlot for new UI
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Volz <[email protected]>
  • Loading branch information
juliusv committed Jul 19, 2024
1 parent 9252826 commit d9520b1
Show file tree
Hide file tree
Showing 6 changed files with 1,169 additions and 419 deletions.
5 changes: 3 additions & 2 deletions web/ui/mantine-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
"@types/lodash": "^4.17.7",
"@uiw/react-codemirror": "^4.21.22",
"dayjs": "^1.11.10",
"echarts": "^5.5.1",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-infinite-scroll-component": "^6.1.0",
"react-redux": "^9.1.0",
"react-router-dom": "^6.22.1"
"react-router-dom": "^6.22.1",
"uplot": "^1.6.30",
"uplot-react": "^1.2.2"
},
"devDependencies": {
"@types/react": "^18.2.55",
Expand Down
272 changes: 0 additions & 272 deletions web/ui/mantine-ui/src/pages/query/EChart.tsx

This file was deleted.

11 changes: 11 additions & 0 deletions web/ui/mantine-ui/src/pages/query/Graph.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.chartWrapper {
border: 1px solid
light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-5));
border-radius: var(--mantine-radius-default);
}

.uplotChart {
width: 100%;
height: 100%;
padding: 15px;
}
Loading

0 comments on commit d9520b1

Please sign in to comment.