문제

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,

도움이 되었습니까?

해결책

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top