Re: Graphing Solution...

2018-05-28 Thread panagiotis merakos via use-livecode
Hi Glen, The best place to start is probably the LC Dictionary: Open Dictionary -> Go to tab "Guide" -> Click on "Extending LiveCode" section Best, Panos -- On Mon, May 28, 2018 at 2:18 PM, Glen Bojsza via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks everyone for your suggesti

Re: Graphing Solution...

2018-05-28 Thread Glen Bojsza via use-livecode
Thanks everyone for your suggestions and code. Never having made a widget is there any youtube videos explaining the framework? Is there a book or guide specifically working with lcb? regards, Glen > ___ use-livecode mailing list use-livecode@lists.

Re: Graphing Solution...

2018-05-27 Thread Mike Bonner via use-livecode
Actually, change 2 lines and I think it'll work better: Line 932, change to: updateGridRect(rectangle [gridLeft(), tPadding + tNeededTop, mWidth - tPadding - mMaxYLabelWidth, gridBottom()]) Line 1061 change to: fill text tString at left of rectangle [tYRight + gridPadding(),tY-20,tYRight + mMaxYL

Re: Graphing Solution...

2018-05-27 Thread Mike Bonner via use-livecode
I floundered around cluelessly with it for a bit, randomly changing a few things till I got something that seems to work. I'm sure there are things I still misunderstand about this, and that I've added code that probably doesn't need to be there. Also not sure if there will be issues with larger

Re: Graphing Solution...

2018-05-27 Thread Brian Milby via use-livecode
Here is the link on GitHub... https://github.com/livecode/livecode/tree/develop/extensions/widgets/graph On May 27, 2018, 10:24 PM -0500, Mark Wieder via use-livecode , wrote: > On 05/27/2018 07:15 PM, Glen Bojsza via use-livecode wrote: > > Hi Brian, > > > > They are good ideas...I haven't done

Re: Graphing Solution...

2018-05-27 Thread Mark Wieder via use-livecode
On 05/27/2018 07:15 PM, Glen Bojsza via use-livecode wrote: Hi Brian, They are good ideas...I haven't done anything with widgets. How do I get access to the source code? The source file is graph.lcb, and where it's stored depends on what operating system you're working with. /Extensions/co

Re: Graphing Solution...

2018-05-27 Thread Glen Bojsza via use-livecode
Hi Brian, They are good ideas...I haven't done anything with widgets. How do I get access to the source code? On Sun, May 27, 2018 at 8:40 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > In LC9, you could possibly use the line graph widget. The source is > available,

Re: Graphing Solution...

2018-05-27 Thread Brian Milby via use-livecode
In LC9, you could possibly use the line graph widget. The source is available, so you could modify it to support dual y-axis (but I'll admit this wouldn't be trivial to complete). A possibly easier modification would be to add the ability to display the y labels on the right side. Then you could