When adding custom highlight to jqPlot chart, I just use
$('#chart').bind('jqplotDataHighlight', function (ev, sIndex, pIndex, data) { var chart_top = $('#chart').offset().top, y = plot1.axes.yaxis.u2p(data[1]);
as shown in the last example here . This works fine on my simple histogram. Then I try to do the same on a stacked histogram, and the x values ββare off. Does anyone know how I can get these values ββor what am I doing wrong?
source share