add

adds the new data object and redraws a chart

void add(object obj);

Parameters

objobjecta data object

Example

myChart.add({
    id: 1,
    value: 5.64,
    label: 2009
});

Back to top