Nine Chart Examples
Posted: Mon Aug 03, 2015 6:33 pm
Here are nine charts I made as examples for your own project: pie, bar, bar group, line, spatial, spider, thermometer, speedometer, stem & leaf.
They demonstrate the use of templates, grouping using create, and points for line graphics.
I tried to make them simple and basic. No globals, no custom props, no custom functions, commented, self-contained within one button. Spider requires some manual completion (too complicated to calculate points). Speedometer requires some manual tabStop massage if resized.
Code improvements and additions are welcome.
I included them as an update to my "Beginner Lab" LC tutorial stack, 34 lessons in LiveCode basics at
http://tlittle72.neocities.org/info.html
or the charts in their own "Chart Maker" stack. Terry
(Edit 8/5/15: added horizontal bar chart, minor fixes as per below. Free, can make code modification, modifications can be distributed, can include in proprietary work.)
(Edit 9/25/17: now 15 charts. Added Pie Slice, Election, Dial%, Dial Range, Survey.)
They demonstrate the use of templates, grouping using create, and points for line graphics.
I tried to make them simple and basic. No globals, no custom props, no custom functions, commented, self-contained within one button. Spider requires some manual completion (too complicated to calculate points). Speedometer requires some manual tabStop massage if resized.
Code improvements and additions are welcome.
I included them as an update to my "Beginner Lab" LC tutorial stack, 34 lessons in LiveCode basics at
http://tlittle72.neocities.org/info.html
or the charts in their own "Chart Maker" stack. Terry
(Edit 8/5/15: added horizontal bar chart, minor fixes as per below. Free, can make code modification, modifications can be distributed, can include in proprietary work.)
(Edit 9/25/17: now 15 charts. Added Pie Slice, Election, Dial%, Dial Range, Survey.)