Improvements to the Line Graph Widget

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
Monox18
Posts: 22
Joined: Tue Nov 25, 2014 9:48 pm

Improvements to the Line Graph Widget

Post by Monox18 » Wed Dec 12, 2018 7:24 pm

Hi All,

I have been using the Line Graph Widget as a monitoring tool where I want to see in Real Time some data from sensors and actuators. So far the Line graph works great but it has some display issuesI would like to have them fixed.

1) The Y axis divisions, labels and amount of divisions are automatically created. If you set the widget with 10 points, then you will see 10 axis divisions, lines and labels. If you put 20 points, you will see then 20 divisions and so on. It works ok when you have 20 or less amount of points in the CSV data. However, I'm using 100 or more points, which means 100 labels and they become impossible to read. (My workaround is to cover all those messy letters with a field, and then manually put some custome labels where I want them), Also I'm forced to turn off the horizontal line divisions and I would like to have the ability to set a property of the widget to tell it how many lines I want.

2) Same as 1 but with the X Labels.

3) The scaling of the axis is set to fit in all the data. This means that both Min & Max values for Axis X & Y will vary to fit the Min & Max values found on the CSV data. This is horrible becase the scalling of the graph is going to change all the time. I would like to be able to set a fixed value for YMin and YMax. (My workaround here is to keep a "fake" point constant at the ending of the data equal to the max and min values of Y to make sure the graph is always fit to this size and then Hide this point with a field layer.)

Image
Image

Thank you !

Post Reply

Return to “Feature Requests”