Skip to content

Commit

Permalink
fix: highstock init for custom highcharts distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Mar 25, 2024
1 parent cf4375d commit 64bb77b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"type": "module",
"dependencies": {
"highcharts": "^11.3.0",
"highcharts": "^11.4.0",
"openmeteo": "^1.1.3",
"svelte-local-storage-store": "^0.6.4",
"svelty-picker": "^5.2.6"
Expand Down
4 changes: 2 additions & 2 deletions src/lib/HighchartsCustom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ import StockChart from 'highcharts/es-modules/Core/Chart/StockChart.js';
// G.Navigator = Navigator;
// G.RangeSelector = RangeSelector;
// G.Scrollbar = Scrollbar;
G.StockChart = G.stockChart = StockChart.stockChart;
G.StockChart = G.stockChart = StockChart;
// Compositions
// DataModifyComposition.compose(G.Series, G.Axis, G.Point);
// FlagsSeries.compose(G.Renderer);
Expand All @@ -143,7 +143,7 @@ G.StockChart = G.stockChart = StockChart.stockChart;
// OrdinalAxis.compose(G.Axis, G.Series, G.Chart);
// RangeSelector.compose(G.Axis, G.Chart);
// Scrollbar.compose(G.Axis);
StockChart.compose(G.Axis, G.Series, G.SVGRenderer);
G.StockChart.compose(G.Chart, G.Axis, G.Series, G.SVGRenderer);



Expand Down

0 comments on commit 64bb77b

Please sign in to comment.