Tag Archives: bar graphs

jqPlot – Clickable Bar Graphs

Learn how to create your very own rich and intuitive JavaScript data visualizations using jqPlotGo in-depth with jqPlot and learn how to integrate it with your company’s data analysis with my new book, Learning jqPlot.
Amazon.com (affiliate link)
Packt Publishing (available ebook & paperback combo)

Updated – jqPlot now has the `jqplotDataClick` event which replicates the functionality discussed below. See the example for Vertical and Horizontal Bar Charts.

I’ve been creating several charts using jqPlot and several of them have been bar graphs. One issue I ran into early on was how to I determine which bar someone clicked on without actually clicking on the data point at the top of the bar.

Updated – Clicking on the image will take you a live example.

Bar Graph with One Series
Continue reading