Updated - PROBLEM RE SOLVED. Answer here to save times for others.
Situation: The wonderful chart widget (which is awesome) has no repaint command. On macOSX if you change the data, the chart redraws itself. Very logical. On iOS it does not repaint itself.
I tried lots of stuff. In the end here is the only thing I have found that works so far.
put this command in the stack
command whateverNameYouLikeMineIsRedrawScreen
set the backgroundColor of card the currentCard of this stack to the backgroundColor of card the currentCard of this stack
end whateverNameYouLikeMineIsRedrawScreen
Then you have to SEND "whateverNameYouLikeMineIsRedrawScreen" to this stack. (in my case I put "in 10 milliseconds" at the end. I don't know if that is important or not.
Called directly from the card doesn't work for me. But this method works. The tip off for me was that the command "set the backgroundColor of card the currentCard of this stack to the backgroundColor of card the currentCard of this stack" worked from the msgBox.
How do I get the glorious Chart Widget to repaint on iOS
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 84
- Joined: Mon Apr 06, 2020 1:19 pm
- Contact: