JMaki Charting click event
The charting widgets are great, but in order for them to provide the functionality required in my app I need to be able to click through a chart, specifically a bar in a bar chart ... basically I need to build a drill through style of dashboard where clicking one bar on the "top-level" chart will asynchronously load more detailed data in a sub-leveled chart. JMaki charting provides everything I need, except the click-through functionality.
I have been playing with the JMakji events framework and jmaki actions, but I can't seem to get an onclick event to be attached to either the dojo or plotkit bar chart. I have also tried adding markers to a plotkit bar chart, but they do not get rendered. The following line in the plotkit base.js addMarker function is false when being executed on a bar chart as the points array is empty, meaning no markers get added to the chart.
if (targetIndex < _widget.layout.points.length &&
_widget.layout.points.length > 0)
Is there any way that I am missing for adding an onClick event to one of these bar charts? The Marker click event is not an optimal solution, but it would provide the onClick functionality.
One other complete aside is that I have found what I think is a small problem with the yahoo DataTable. The publish argument for the widget was not working as I was not receiving events on a custom topic I had passed to the widget using