DHTMLX Docs & Samples Explorer

exists ()

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

Required library file: dhtmlxchart.js

Returns true if the item with defined ID already exists

  • id - id of item in question
	var check = chart.exists(id);