Text labels for X-axis bars??

Get help and support using chartsEngine for LiveCode.

Moderators: heatherlaine, BvG

Post Reply
lumpo
Posts: 23
Joined: Sat Jan 05, 2008 1:14 pm
Location: Sydney

Text labels for X-axis bars??

Post by lumpo » Tue Feb 15, 2011 6:03 am

I can't seem to fathom this. How can I get a simple histogram-like bar working with category labels ("big", "Small" for eg. and their values (1,3,5 etc)? Although legend names can do it it is quite artificial for medical readers to not see what a bar is relating to in the graph itself (rather than in a legend).
After playing with this for a while, I'm getting a bad feeling that no text labels are possible. If this IS so, will there be a fix or should one just move on to another package.
Thanks

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: Text labels for X-axis bars??

Post by BvG » Tue Feb 15, 2011 5:08 pm

Yes, currently you cannot give each bar its own, unique name, which is unrelated from the actual data. you can use showValues and valuesPostfix/valuesPrefix to show an arbitrary text that is the same for each bar, but that is not what you say you need.

A change is in the works, but unfortunately I can't give an exact time at this point. It should be within three months (approximation).
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply

Return to “chartsEngine”