adds the new data property representation and redraws the chart
obj | object | a data object |
view | string | the chart type |
value | string | property of dataset which representation you'd like to add to the chart |
color | string | the template for the color of the property items |
label | string | the template for the labels of the property items |
myChart.addSeries({
value:"#sales1#",
color:"#45abf5",
label:"#sales1#"
});
The method allows representing several data propeties on one chart at the same time.
Not applicable to Pie and Scatter charts.