Vertical labels on line graph widget possible?

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 327
Joined: Sun Apr 15, 2012 1:17 am
Location: USA
Contact:

Vertical labels on line graph widget possible?

Post by Newbie4 » Tue Apr 11, 2017 9:10 pm

Is it possible to have vertical labels on the x-axis in the line graph widget?

The labels on that axis are long and overlap to where they are unreadable. I tried making them a smaller font and cutting them off lengthwise but they were difficult to read.

Is there a way to rotate them so the are sideways (vertical) ? If there is not a property or way to do that, would it be hard to edit that widget and add it as a property?

Thank you
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Vertical labels on line graph widget possible?

Post by [-hh] » Wed Apr 12, 2017 8:41 pm

TMHO, this is not difficult but will take a lot of time for typing and scripting (doing all the text measurements, resizing the widget if needed).
That's why I prefer to use short labels connected to a legend/footnotes for more text.
shiftLock happens

Post Reply

Return to “LiveCode Builder”