score:2
Accepted answer
Right now you have:
series : [{
name : 'Total Market',
data : arr,
tooltip: {
valueDecimals: 2
}
}]
So you have just one object inside series. If you want multiple series then should be something like that:
series : [{
name : 'Total Market I',
data : arr_1,
tooltip: {
valueDecimals: 2
}
},{
name : 'Total Market II',
data : arr_2,
tooltip: {
valueDecimals: 2
}
}]
Edit:
To add multiple series, push them to array:
var mySeries = [];
mySeries.push({
name : 'Total Market I',
data : arr_1
});
mySeries.push({
name : 'Total Market II',
data : arr_2
});
mySeries.push({
name : 'Total Market III',
data : arr_3
});
Then create chart:
series: mySeries
Source: stackoverflow.com
Related Query
- how to enable drawing multiple lines on highstock basic-line graph?
- How to display basic line graph in Highchart for multiple categories' data from csv?
- How to plot a highstock single line series graph from ajax data
- How to plot multiple lines in a single graph using HighChart with JSON
- drawing custom lines on highchart graph
- How do I set highcharts line graph point colors to an array of colors?
- Highstock - How to add multiple series with JSON-Array
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- How to use Highcharts React to create chart with multiple lines for same XAxis?
- Highstock shared tooltip multiple series - show data for line when not on point
- Why are there disabled buttons in HighStock Range Selector? And how to enable them?
- How to make legend color show up in Highcharts for a line graph under certain conditions?
- how to plot multiple time series in the same graph with customized x axis
- How to render a line from dataLabels to marker on graph in HighCharts?
- How to add vertical lines to graph with HighStocks or HighCharts?
- Drawing a simple graph using projected lines
- How do I use dates from a LinkedHashMap for the x-axis on a Highcharts line graph (using Thymeleaf)?
- How could you supply multiple series to a line chart in R shiny using highcharter package and without hardcoding the series?
- How to get multiple lines in highcharts?
- How to show multiple Highcharts graph on one page
- How to change the theme of a Highstock graph with a button?
- how to continue the graph line when missing series of data in middle of highcharts
- Highstock - How can i display the open, high, low, close in the line or area charts tooltip
- Highchart : How to plot Stacked bar graph with line by below JSON respons
- How to draw a line on a highcharts graph from an AJAX call?
- highcharts multiple line live graph
- How to stop plotting the graph if data is blank and continue if data is there on the y-axis in base line highcharts
- How to hide/show a column in a basic column graph of highcharts?
- Strange character in the Highstock source code
- how to render multiple line charts - highcharts on same page using highcharts react wrapper - highcharts-react-offical
More Query from same tag
- UIWebview not scrolling in jquery part
- Disable line from tooltip to point location on the chart
- Highcharts svg element "highcharts-series-group" not resizing
- Making only certain bar close to each other in Highcharts
- Stacked chart Scrolling Issue
- How to do mouse over x-Axis[Cateogories] in High charts when you mouse over the x-Axis [Category]
- Displaying a list of charts selected from a month selection in drop-down
- js highcharts, having problems creating the chart series
- HighCharts :(Solid Gauge) How to generate gauge dial with an arrow end.
- Formatting Tooltip Value on Series
- Highstock control: decrease y space between series
- Highcharts, Show specific tick on a datetime xaxis type
- URL Link in Tooltip
- Rebuild JSON after $http.get with AngularJS
- Highchart is not defining angular 9
- Changing series color in highcharts dynamically
- Highcharts not displaying in Firefox
- Highchart Heatmap shows index number in YAxis
- Is there any way to include heatmap in treemap
- get highcharts data from table angularjs
- How to load the highchart in my aspx page
- Using local file instead of $.getJSON
- Highchart angular directive doesn't redraw from dynamic (ajax) data table
- How to position the dataLabel for highcharts on the same side of the x-axis?
- Highchart and json data
- Highcharts bubble chart datalabels color contrast issue
- Pandas Highcharts - Display Chart with Flask
- Highcharts donut ring coloring only selective part
- How can I create a specific Json output for use with Highcharts?
- Inserting Highcharts bar graph into sharepoint 2013 page