How can I make graph lines thicker?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trailboss
Posts: 121
Joined: Sat Dec 13, 2008 4:55 pm

How can I make graph lines thicker?

Post by trailboss » Mon Feb 06, 2017 2:43 pm

I have made a line graph from the tools palette. The lines are not exactly hairlines but they are too thin. While I can change fonts in the graph and font size (though not font style) I see no feature to make the lines thicker. I should have thought there would be something like the feature on the palette itself that gives you a pull-down menu of line thicknesses to choose from.

Thanks in advance,
Tom in Arizona

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10337
Joined: Wed May 06, 2009 2:28 pm

Re: How can I make graph lines thicker?

Post by dunbarx » Mon Feb 06, 2017 11:08 pm

Hi.

Do you mean a line graph widget in v.8?

Or some graphic you built by hand? If the latter, set the "lineSize". If the former, watch this space...

Craig Newman

trailboss
Posts: 121
Joined: Sat Dec 13, 2008 4:55 pm

Re: How can I make graph lines thicker?

Post by trailboss » Tue Feb 07, 2017 2:33 am

Yes, I guess it's a widget. I dragged it off the tools palette. The object inspector doesn't seem to have a feature for line thickness. Funny; you can change the markers and make them as fat as you like—fatter than you're ever going to want them.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10337
Joined: Wed May 06, 2009 2:28 pm

Re: How can I make graph lines thicker?

Post by dunbarx » Tue Feb 07, 2017 3:55 am

1- It's LC. There is a way.

2- Wait for a v.8 person to chime in.

Craig

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

Re: How can I make graph lines thicker?

Post by [-hh] » Tue Feb 07, 2017 7:38 am

If it is a widget you can only change the linesize if the author implemented it.
Usually that's shown in the dictionary: In tab API "Choose API: <widgetName>".
shiftLock happens

trailboss
Posts: 121
Joined: Sat Dec 13, 2008 4:55 pm

Re: How can I make graph lines thicker?

Post by trailboss » Wed Feb 08, 2017 12:28 am

Well, then maybe I can't fatten the lines. Thanks anyhow.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10337
Joined: Wed May 06, 2009 2:28 pm

Re: How can I make graph lines thicker?

Post by dunbarx » Wed Feb 08, 2017 12:53 am

HI.

It is a part of the new world, I guess, in that widgets are sort of prepackaged objects, similar to a dataGrid, but that are not nearly as open and accessible to the user as lower level objects. Even a dataGrid can be hacked because it is comprised of standard objects and behaviors, and is built in LCS. But widgets are built in LCB, and, I think, therein lies the difference.

Have I got this right?

Craig

AndyP
Posts: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Re: How can I make graph lines thicker?

Post by AndyP » Wed Feb 08, 2017 8:37 am

See this thread for an amended lineGraph widget.

http://forums.livecode.com/viewtopic.php?f=93&t=28791
Andy .... LC CLASSIC ROCKS!

Post Reply