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
- Highcharts - change border of a single data point in series
- highcharts legend position wrong when align ='left' or 'right'?
- Highchart: How to graph from Radio Button
- Customisation of RangeSelectors in highstock
- Highcharts js: get errors if there is a big point in a 3d series chart
- Highcharts - column stacked Y axis
- How to set the target of highcharts bullet chart using SVG?
- Highchart duplicates data on chart instead of refreshing it
- Ember App Kit: Calling a view gives me Assertion Failed error
- How can I achieve this type of marker in highcharts?
- How to invert (transpose) the rows and columns of an HTML table which is generated dynamically from highchair in Angular 12?
- HighStock: chart gets broken when navigator touches right border
- How To Load Plist Data On HighChart Using Objective C?
- Feeding highchart with x and y values from ajax
- How to place one highchart on top of another
- Datetime Highchart with selection event, set wrongly the extremes
- Tooltip.followPointer does not work in highcharts 3
- High Charts / StockChart: x axis values
- Print Highcharts in pdf format
- Using HighCharts styledMode in Angular 8 application
- How to get highcharts dates in the x axis?
- Multiple pie charts in 1 graph with split tooltip Highcharts.js
- Highcharts solid gauge with multiple series
- Background on the bar not getting removed from Highcharts
- Highcharts dont show: "undefined is not a function"
- Highcharts Export without internet
- How to remove space between highChart bar graph between two different category
- Spiderweb chart with different axis ranges (parallel-coordinates)
- I want to implement drilldown for heatmap or heatstock of highcharts
- Highstock, True way of Get count of shown points after setExtreme (Zooming) - WITHOUT counting all data with MIN and MAX