returns the ID of the previous item ( item with index == current - 1 )
var prev_id = myChart.previous(id);