Boost.js module with highstock
See original GitHub issueAnyone has an example of how to use the boost.js module with this?
So far I tried
import ReactHighcharts from "react-highcharts/ReactHighstock"; require('highcharts-boost')(ReactHighcharts);
and
import ReactHighcharts from "react-highcharts/ReactHighstock"; require('highcharts-boost')(ReactHighcharts.ReactHighstock);
but either they don’t do anything or produce an error in the console about win
not being defined.
Thank you.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Boost module | Highcharts
The Boost module is a stripped down renderer and a set of data handling modifications for Highcharts. It bypasses some of the standard...
Read more >highcharts/boost-module.md at master - GitHub
The Boost module is a stripped down renderer and a set of data handling modifications for Highcharts. It bypasses some of the standard...
Read more >Boost options for highcharter objects - Joshua Kunst
The Boost module allows certain series types to be rendered by WebGL instead of the default SVG. This allows hundreds of thousands of...
Read more >Highcharts Demo - JSFiddle - Code Playground
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
Read more >HighChart Boost Module in highmaps not working
The boost module is a “renderer-in-a-module”. Including modules/boost.js will, by default, activate boost for all series that support it ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This was resolved a while ago. I’ll put my solution in case someone else comes across it:
Remember, Boost module won’t actually do anything unless the number of points in a series is above a threshold (which i believe the default is 5000, but i could be wrong). Even if the sum of all the series points are above the default value, it still will not work unless individual series points are above the threshold. In order to get around this, you will have to add boostThreshold to the series setting and set it to whatever value you’d like. You’ll have to do this for each series since there is no global setting. Ex:
@Sunzhuoyi Write to me here https://github.com/kirjs/react-highcharts/issues/362 .