Reg.dhtmlxchart onclickevent

i have a requirement that to display all the details in a bar chart.then if user clicks any bar it ll drill down to particular page.(atleast i want to display that which bar was clicked by the user)i dono how to do this in dhtmlx.can u anyone help me?

You may set onItemClick event for Chart that is fired when a bar click:

$$(“mychart”).attachEvent(“onItemClick”,function(id){
/your code here/
});

An event handler takes bar id as a parameter

is it possible to use that particular id with another component like dhtmlxGrid to display some details?if it so then how can i do it?

You can use id to get info from component, and it can be called from any place in code

var data = $$(“mychart”).item(id).some_data;