I am trying to add new dataSeries using this:
var newseries={
type:”line”,
dataPoints:[
{y:frustrated[0],x:’1′,indexLabel:'{y}%’},
{y:frustrated[1],x:’2′, indexLabel:'{y}%’},
{y:frustrated[2],x:’3′, indexLabel:'{y}%’}]
}
chart.options.data.push(newseries);
chart.render();
here frustrated array contains three float values which i got from ajax response.
Problem is that the data is being pushed into the data array but i can only see tooltips corresponding to the new line, not the line….
I’ve tried changing it to a column chart… again on adding new data columns get shifted and all but the new columns are not visible.