I am drawing a bar chart like this jsfiddle code
Now the data is given like this
data : [ [ 1, 85], [ 2, 50 ], [ 3, 18], [ 4, 8 ] ]
I need to know how will i be able to access this 85,50,18,8 individually.So that when i take my cursor to the bar chart and click it then it show me the respective values.
It should be something like series.data.
But i don’t know how to get the values.
What you need is simply:
obj.dataIndexis index of the point in the data array (which in turn is available asobj.series.data).Here’s working example http://jsfiddle.net/WnC9B/24/
This answer has been sponsored by http://flot.googlecode.com/svn/trunk/API.txt 😉