Page 1 of 1

Line chart widget used with live data resizes unpredictably

Posted: Fri Nov 04, 2016 4:15 am
by biotope
LiveCode 8.1.1 Build 14008

Using Line Graph widget to display live temperature information extracted in LC from a comma delimited .txt (log) file.
Using

Code: Select all

export snapshot from this cd of this stack to file "LIVEtempStream.jpg" as JPEG
to produce a JPEG which I upload to my FTP servers (still within LiveCode).
A new JPEG is uploaded every 5 minutes and displayed HERE… (see link bellow)

My problem: the chart won't keep still over time and stretches randomly horizontally,
also, the y axis fills up with redundant values and unevenly spaced numbers.

This makes for quite a spectacular show when I animate all the screen shots (snapshots) together.
See attached bellow a very short, and heavily cropped, .MP4 animation spanning 14 hours of data acquisition.
You can clearly seen the jittery behaviour of the chart in this animation.

Of course, "Lock size and position" for this object has been checked.

Latest Data (CSV) content (copy & paste) from widget:

-24h,11,5,8,6
-22h,11,5,8,6
-20h,10,5,8,6
-18h,10,5,8,6
-16h,10,5,8,6
-14h,10,5,8,7
-12h,10,6,10,8
-10h,10,7,11,10
-8h,11,7,12,10
-6h,11,6,10,8
-4h,11,4,8,6
-2h,10,5,8,6
Live,11,3,7,5

Thank you for your time,

Re: Line chart widget used with live data resizes unpredicta

Posted: Sat Nov 05, 2016 11:09 am
by shaosean

Re: Line chart widget used with live data resizes unpredicta

Posted: Sat Nov 05, 2016 11:51 am
by biotope
Thanks Sean!

Re: Line chart widget used with live data resizes unpredicta

Posted: Sun Nov 06, 2016 5:31 pm
by Klaus
Looks like a bug to me, please report it here: http://quality.runrev.com
Thank you!