Tag Archives: bar graphs

jqPlot – Clickable Bar Graphs

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