oesmith/morris.js — pull request #160 by nbjayme (2013-01-16 07:51:31+00:00)
Title: Click on Bar and Line graph

HI,

I've made minor changes to have a click option handler in Line and Bar graph.
We are using morris.js and the click handler is important to us to go to details of a specific plotted data clicked on the graph.

sample use case:

Morris.Bar(
// options go here
click: function( plotInfo ){
for (var s in plotInfo) alert( s + "=" + plotInfo[ s ];
}
};