I got many angular examples but not a single example that shows loader while highcharts are loading (bcoz of huge data) in react typescript . I have even tried function like events.redraw and events.render but no luck.
Asked
Active
Viewed 705 times
0
-
Please provide enough code so others can better understand or reproduce the problem. – m1k3y3 Oct 06 '21 at 08:06
1 Answers
0
I've prepared a simple example of displaying a spinner on the chart in React. In this case, I've used a basic CSS solution to placed the spinner correctly. Just click the button below to see how it works.
Demo: https://stackblitz.com/edit/react-edispb?file=style.css
const LoadingNotification = ({ isLoading }) => {
if (isLoading) {
return <CircularProgress className="loadingNotification" />;
} else {
return null;
}
};
You can also use loading functionality.
API references:
https://api.highcharts.com/highcharts/loading
Demo:

Dominik Chudy
- 301
- 3
- 7