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
> > So for s1 = 1, 2, 3; s2 = 30, 20, 10 > You would graph s1 = 1, 2, 3; s2 = 3, 2, 1 (but have a label on the right > going from 10 to 30) > > Thanks, > Brian > > On Sun, May 27, 2018 at 2:21 PM, Glen Bojsza via use-livecode < > use-livecode@lists.runrev.com&g

Re: Graphing Solution...

2018-05-27 Thread Brian Milby via use-livecode
s. So for s1 = 1, 2, 3; s2 = 30, 20, 10 You would graph s1 = 1, 2, 3; s2 = 3, 2, 1 (but have a label on the right going from 10 to 30) Thanks, Brian On Sun, May 27, 2018 at 2:21 PM, Glen Bojsza via use-livecode < use-livecode@lists.runrev.com> wrote: > Hello, > > I am trying to find

Graphing Solution...

2018-05-27 Thread Glen Bojsza via use-livecode
Hello, I am trying to find a graphing solution that will support dual y - axis line plots. Both sets of data need to be plotted on the same graph so the left Y scale is used for one set of data that is plotted and the right Y scale is for the other set of data. >From what I have found neit