Question

I have a highcharts column chart with several sets of data. I need to be able to change the name of a series , the data and add or remove series. I am unable to update an existing series. This is a short example of the code:

        var InvChart = $('#Inv-summary').highcharts();
        var master=[];
        var type1 = "stock";
        var range1 = 1100000;
        var range2 = -750000;
        master.push({name: type1 ,data: [range1, range2]}); 
        InvChart.series[0].setData(master,true); 

thanks for any help,

Was it helpful?

Solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top