First of all, I want to say that I LOVE this chart library. Combined with this Rails plugin, I was able to quickly and easily produce some really nice looking charts for a RoR project I'm doing for the company I work for, Assembla.com (shameless plug).
The only thing that was missing was clickable bar elements. Since our client needed to have clickable elements in their charts, one of my team and I went in and made some adjustments to the various types of bar charts to allow for click events.
Charts that support the "on-click" property are:
- Bar
- Horizontal Bar
- 3D Bar
- Glass Bar
- Outline Bar
- Sketch Bar
Attached is a zip file containing the modified source files.
I hope this helps some people out.
monk.e.boy, if you end up using this code in a future release, and you include a list of contributors somewhere, I would appreciate it if you could include our information:
Eric Salczynski (Assembla, LLC - eric@wehaventthetime.com)
Duc Duong (Assembla, LLC - duc.assembla@gmail.com)
Thanks,
Eric
