score:2
Accepted answer
you are initally creating a chart with a single blank series here:
series: [{
data:[]
}]
chart.series[1]
(a second series) and chart.series[2]
(a third series) are therefore undefined.
a quick fix to your code could be:
var chart = $('#container').highcharts();
var series1 = [1, 52, 5, 98, 5, 929, 1, 9, 48];
var series2 = [1, 92, 35, 8, 25, 729, 61, 29, 38];
var series3 = [1, 59, 75, 26, 25, 829, 11, 19, 48];
chart.series[0].setdata(series1, false); // setdata on existing series, don't redraw
chart.addseries({data: series2}, false); // add new series, don't redraw
chart.addseries({data: series3}, true); // add new series, now redraw
not the boolean arguments to the above methods will control the redraw.
example here.
Source: stackoverflow.com
Related Query
- How to have multiple highcharts with different series data in vuejs without repeating code
- How to get multiple data series into Highcharts
- Highcharts with JSON data and multiple series
- Highcharts not displaying series data for graph with multiple Y-axes
- Multiple series data on HighCharts column
- Highcharts show the same yAxis start and end value with multiple data series
- Highcharts - how to create multiple y axis and group the data series
- Multiple series data Highcharts line
- Highcharts multiple data on single point in series
- Toggling 2nd pane data within a Multiple Series Highcharts Chart
- Highcharts series visibility with csv data source
- Loading json data to highcharts with multiple series
- Highcharts : using same div to load a chart multiple times with different series data
- Highcharts multiple series with missing Data Points
- Highcharts multiple data series
- HighCharts BoxPlot With Multiple Series Having Single Data
- Multiple series of data in Highcharts but second line graph is displayed squashed?
- HighCharts multiple x series data for line graph
- Highcharts Multiple Series data - label mismatch
- How to make multiple Y-axis with incoming series of data from database using Highcharts
- How to get multiple series data in tooltip highcharts (Without loosing tooltip pointer arrow)
- Highcharts displays series names but missing data points from json source
- How to set columnrange width to expand the length of the x-axis in multiple data series in Highcharts
- Set Additional Data to highcharts series
- Proper way to remove all series data from a highcharts chart?
- Changing data dynamically for a series in Highcharts
- Add additional data to a Highcharts series for use in formatters
- How to get multiple series data in tooltip highcharts?
- Get Highcharts Series Data after Load
- Highcharts doesn't display series with lots of data points
More Query from same tag
- populating highchart series by looping my query every month
- R Highcharter Sankey nodes column property trouble
- Dynamic Highcharts with maximum xaxis points
- Highcharts - How can I put a 100% fix value in the X axis?
- Highcharts series setData from ajax php procedure
- Highcharts CDN issue with IE8
- Click to URL irregular highcharts graph
- Unrecognized configuration section pages
- Highmaps mulitple series can't seen without disable one
- Exporting HighCharts chart specific height width
- HighChart irrgular Mapping
- jQuery/AJAX data loading & replacement in Highcharts
- HighCharts not being displayed in Partial view
- Highchart series is choping
- I want to display bar with minPointLength dynamically when value in null in highchart
- How can i get pie chart with dynamic json data in Angular js
- How to set an option in Highchart inactive by default
- Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value
- is it possible with highcharts 5 to plot a point at the top of the chart?
- Highlight a Table Row when Mouseover HighChart Pie
- highcharts - windrose stackLabel doesn't work properly
- highcharts: bar/column chart with drilldown
- Multiple Axes on a Highcharts Heatmap
- Highcharts. How to start areaspline chart from start y axis?
- Loading data to Highchart from MySQL and displaying in appropriate way
- Interaction with multiple charts in a page
- Need to place two stack charts side by side sharing single configuration settings
- Blank slider placeholders
- JSON Result for Highcharts Data Object in C#
- HighChart xAxis and data discrepancy