exists

returns true if the item with defined ID already exists

void exists(string|number id);

Parameters

idstring|numberid of item in question

Example

var check = myChart.exists(id);

Back to top