I am using morris.js (which has a dependency on raphael) for creating stacked bar graphs. For each stacked bar I want to show the split for the various levels in the bar as
http://jsbin.com/finuqazofe/1/edit?html,js,output
{ y: ..., x: ..., label: "my own label"},' ... Morris.Line({ hoverCallback: function(index, options, content) { var data = options.data[index]; $(".morris-hover").html('Custom label: ' + data.label + ''); }, ... other params });