livecode-ide icon indicating copy to clipboard operation
livecode-ide copied to clipboard

Line Graph Widget suggestions

Open runrevelanor opened this issue 9 years ago • 0 comments

If possible I think the line graph widget would be a bit easier to use with some changes to the properties.

To show 2 lines with the labels a, b, c, d, the values 1, 2, 3, 4 for the first line and 2, 4, 8, 16 for the second line you set the graphData to

a,1,2 b,2,4 c,3,8 d,4,16

I would suggest separating the labels, and adding a property allowing the user to choose whether to show the labels or not, this could also be useful for the y-axis.

I also think that setting the data with a comma separated list of values, one row for each line is a little easier to set up and read.

So the properties would be something like

X-axis labels: a, b, c, d Show x-axis labels: true Data: 1, 2, 3, 4 2, 4, 8, 16

runrevelanor avatar Feb 25 '16 16:02 runrevelanor