Click event on chart bar

Hello everybody,
I’m developing my first test application. I would like to fire an event when a bar of a chart bar is touched, to show the related page. There is any way to realize this with the framework?

Thanks in advance for your help

$$('mychart').attachEvent("onItemClick", function(id){ alert("Bar "+id+" was touched"); });