Google Chart Visualization API, Bar chart values / tooltips
I am trying to add the actual value of all the bars in my chart to the end of each bar. I want this to either replace, or to add to the tool- tip functionality.
I see that this is possible in the image chart, it is the function开发者_开发知识库ality described in the following link that I wish to replicate:
http://code.google.com/apis/ajax/playground/#image_bar_chart
I am wondering if this is possible in the Javascript based version of the bar chart?
Many thanks,
H.
It looks like there's no built in functions to draw text ad-hoc on top of google's different charts. Behind the scenes, it's generating SVG so you could try to insert some valid SVG on your own.
Another option would be to use a more flexible (but less featureful) library like raphael.js:
http://raphaeljs.com/
精彩评论