last

returns the ID of the last item ( item with index == dataCount-1 )

void last();

Example

var id = myChart.last();

Back to top