Livecode 10 Chart Problems

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Livecode 10 Chart Problems

Post by andyh1234 » Wed Nov 13, 2024 4:49 pm

I am still having problems with the chart control in Livecode 10 and iOS.

When I deploy or test an app either on a device or simulator the chart fails to refresh when I set the csvdata property of it to a new value.

If I navigate away from the card and then back to it, the chart then refreshes correctly.

Is there a way or command to force the chart widget to update its contents?

Thanks

Andy

Klaus
Posts: 14188
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Livecode 10 Chart Problems

Post by Klaus » Wed Nov 13, 2024 6:27 pm

Hi Andy,

did you try the "usual supects" like:
lock/unlock screen
set the csvdata to EMPTY first and then to new data
set the backcolor of this stack to the backcolor of this stack
?

Best

Klaus

andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Re: Livecode 10 Chart Problems

Post by andyh1234 » Wed Nov 13, 2024 6:57 pm

Yes, I tried those, send send update to me in 1 to try to get it out of the stack.

Ive created a small test file to demonstrate the issue and submitted it to Livecode as a bug. It works fine in the IDE but does nothing when compiled to an actual app for iOS.

Post Reply