Just a simple bar chart question. How do I display the values above each bar?
Well, I'm not aware of any special way, but again, I'm no guru.
Given these lists : left, height you could simply do something like :
bar(left, height, width)
for l,h in zip(left,height):
text(l+width/2., h + dh, str(h), horizontalalignment = 'center')
where dh is the distance wanted between the top of the bar and the text.
David
2006/3/13, Francis Penney <fpenney@...287...>:
ยทยทยท
Just a simple bar chart question. How do I display the values above each
bar?