DHTMLX Docs & Samples Explorer

get (id)

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

Required library file: dhtmlxchart.js

Returns hash of data , related to specific ID

  • id - id of item in question
	var data = chart.get(id);
	alert(data.sales);
	chart.sales = 5.6; //beware that you need to force refresh