DHTMLX Docs & Samples Explorer

Required library edition: This method works with any edition of DHTMLX library

Required library file: dhtmlxchart.js

returns the ID of the previous item ( item with index == current - 1 )

  • id - the id of the item in question
	var prev_id = chart.previous(id);