Skip to content

Commit 23d0306

Browse files
committed
Refactor PlotlyChart to use Plotly.js directly and update SessionBar Divider orientation
- Updated PlotlyChart component to import Plotly.js directly and create a Plotly component using the factory module. - Changed the Divider component in SessionBar to use the 'orientation' prop instead of 'type' for vertical orientation. - Added TypeScript declaration for plotly.js-dist-min module.
1 parent 4a970ed commit 23d0306

5 files changed

Lines changed: 616 additions & 29 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"axios": "^1.14.0",
1919
"buffer": "^6.0.3",
2020
"date-fns": "^4.1.0",
21-
"plotly.js": "^3.3.1",
21+
"plotly.js": "^2.35.3",
22+
"plotly.js-dist-min": "^2.35.3",
2223
"react": "^19.2.4",
2324
"react-date-range": "^2.0.1",
2425
"react-dom": "^19.2.3",
@@ -31,7 +32,7 @@
3132
"@eslint/js": "^9.39.4",
3233
"@tailwindcss/postcss": "^4.2.2",
3334
"@types/d3": "^7.4.3",
34-
"@types/plotly.js": "^3.0.9",
35+
"@types/plotly.js": "^2.35.14",
3536
"@types/react": "^19.2.9",
3637
"@types/react-date-range": "^1.4.9",
3738
"@types/react-dom": "^19.2.3",

0 commit comments

Comments
 (0)