Reputation: 5012
I wish to include to tooptip div right above the value of my bar chart
eg: If the bar values around 90,80 On mouse-over the [value box] should be right above the value of the current bar chart.
Is it possible to get the mousey at the bar's starting top?
Upvotes: 0
Views: 648
Reputation: 5012
just browsed trough, It can be accessed via
x = plot1.axes.xaxis.u2p(data[0]), // convert x axis unita to pixels
y = plot1.axes.yaxis.u2p(data[1]); // convert y axis units to pixels
Upvotes: 1