I have a code to generate multiple charts for a single series.
code :
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container'
},
series: [{
data: [[6, 540], [7, 540], [7, 1620], [8, 1620]]
},{
data: [[6, 340], [7, 340], [7, 620], [8, 620]]
}]
});
i need to provide different caption for the series’.. How is it possible?
Simply add a
nameto your definition of series … as shown in the documentation