Page 1 of 1

Spider Diagram Widget

Posted: Mon Aug 28, 2017 2:43 pm
by benjibeaumont
Hi Folks,

I'm writing an app in LiveCode that requires an 8 point spider diagram. Before I go ahead and implement one, does anyone know if anyone in the community has already developed one?

Cheers,

Ben

Re: Spider Diagram Widget

Posted: Tue Aug 29, 2017 9:33 pm
by paul_gr

Re: Spider Diagram Widget

Posted: Wed Aug 30, 2017 10:01 am
by benjibeaumont
Thanks Paul.. looking for it as a widget.. looks like I might have to get my LCB on! :)

Re: Spider Diagram Widget

Posted: Wed Aug 30, 2017 5:18 pm
by FourthWorld
benjibeaumont wrote:Thanks Paul.. looking for it as a widget.. looks like I might have to get my LCB on! :)
It'll be nice to have a widget version, so I'm glad you're exploring this. But I'm curious: what in your workflow or architecture requires a widget specifically where a custom control would be prohibitive?

Re: Spider Diagram Widget

Posted: Thu Aug 31, 2017 9:32 am
by mrcoollion
I have used a different approach to make diagrams for my users but they do need an internet connection for this!
I make use of Google Charts which provides a variety of charts designed to address your data visualization needs. These charts are based on pure HTML5/SVG technology (adopting VML for old IE versions), so no plugins are required. All of them are interactive, and many are pannable and zoomable.
https://developers.google.com/chart/int ... cs/gallery

How?
1) I copy the code for a chart into a file e.g. named mychart.html
2) I manipulate this file and put my application data into it with LiveCode (easy to do as LiveCode excels in text manipulation).
3) I put a Browser Widget on the Card and set the url to this file and voila there is your chart.

I also give the user a copy chart to clipboard option so they can use the chart picture in their documentation.

Just a different approach.

Again be aware of the big downside that the user must have internet connection to make this work.

Regards,

Paul