score:1
Accepted answer
The chart is redrawn after each iteration, you can prevent that by setting the redraw
argument in addSeries
method call to false
and call redraw
after the loop.
for( let i = 0; i < data_list.length; i++ ) {
this.chart.addSeries({
name: ...,
data: ...,
}, false);
}
chart.redraw();
Live demo: http://jsfiddle.net/yqo8hrbn/
API Reference:
https://api.highcharts.com/class-reference/Highcharts.Chart#addSeries
https://api.highcharts.com/class-reference/Highcharts.Chart#redraw
Source: stackoverflow.com
Related Query
- Performance issue adding series through loop in Highcharts
- Highcharts slow performance when adding more than 10 series
- Disable series through configuration in highcharts
- Highcharts data series issue with ajax/json and PHP
- adding series to highcharts from JSON
- Adding a series dynamically with HighCharts Stock Charts
- Creating multiple series in Highcharts within a loop
- HighCharts performance issue and alternative
- Highcharts Issue - Labelling Y-Axis Based Series Data
- Highcharts: how to loop through array to add series
- adding series from existing highcharts chart
- Highcharts adding array of variable to series
- Highcharts bar zoom issue when using transparent series
- Adding different style to a series in legend in Highcharts
- Highcharts low performance when adding yAxis dynamically
- Performance issue with Firefox on Highcharts and Highstocks
- Highcharts + Angularjs : Graph doesn't redraw when adding series from an external event
- Adding series markers to highcharts area chart
- Highcharts - Adding tooltip to ONLY certain dynamically added series
- Adding Classname to series data in angular highcharts
- Highcharts series format Issue (AngularJs)
- Highcharts multiple series combined with linkedTo hover issue
- Adding series dynamically to highcharts using python 3
- Pass array from js for loop to highcharts series data
- Highcharts adding additional series and axis breaks existing yAxis min/max
- Highcharts series data not persisting through angular route change
- HighCharts Not Adding Series Data Points
- How to loop through highcharts theme
- While loop not working in the series data highcharts - php
- highcharts dynamically adding series with addSeries
More Query from same tag
- Highcharts - change font size of text on chart
- Highcharts - How can I show arrow in "solidgauge"?
- Highcharts : compare current value/previous value to get the rate
- Highcharts Drilldown charts CodeIgniter
- can hightcharts make ajax calls to external data files?
- R Highcharter map from customized shapefile
- Change Datalabel Color, Rotation and Align values based on Column value in highcharts
- Highcharts BarChart Arabic longwords
- Use different colors depending on the number of series - Highcharts
- Highchart Hide/Remove Annotation buttons on export
- Correct approach to apply HTML style in x-axis title
- In area chart how to use gradient colour
- Getting Highcharts tooltip to return an angular directive using templeteUrl?
- Highstock updating of the chart each second
- present halo animation in Highmap
- Padding between X-Axis labels in Highchart
- Sankey paths/links are loosing their width when the link has a big curve
- Highmaps get() function on a secondary series
- Change pie-chart title depends on visible series
- Internationalization in highcharts?
- Highcharts Bubble Chart Hover Color
- HighChart Title text implemented HTML Style is not applying in exporting files
- Highchart Maps (Highmaps)- data
- Highcharts Bar Graph Remove Category when all bar values for category equal 0
- Highchart update categories when adding points
- Second yAxis does not scale according to series in Highcharts
- How do I set highcharts line graph point colors to an array of colors?
- Highcharts tool-tip show extra data
- Is there a way to fill different colors up to the desired point in Highcharts gauge graph?
- I want to implement drilldown for heatmap or heatstock of highcharts