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: 124
Joined: Sat Dec 13, 2008 4:55 pm

How can I make graph lines thicker?

Post by trailboss »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: How can I make graph lines thicker?

Post by dunbarx »

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: 124
Joined: Sat Dec 13, 2008 4:55 pm

Re: How can I make graph lines thicker?

Post by trailboss »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: How can I make graph lines thicker?

Post by dunbarx »

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] »

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: 124
Joined: Sat Dec 13, 2008 4:55 pm

Re: How can I make graph lines thicker?

Post by trailboss »

Well, then maybe I can't fatten the lines. Thanks anyhow.
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: How can I make graph lines thicker?

Post by dunbarx »

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 »

See this thread for an amended lineGraph widget.

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