B4J Question How to update a Chart to watch "life" data

stevel05

Expert
Licensed User
Longtime User
After a quick experiment here's an option. It's not elegant programming but I don't have time to rewrite it. You should get the idea.

When you click the button another data item is added.
 

Attachments

  • adddata.zip
    1.3 KB · Views: 266
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
Thanks, by having a first quick look it seems to be very useful to proceed. It is very difficult me as an old-style programmer to understand these complex architectures.
By the way, I tried to understand example 3-4. But I can't see how the axes are defined in the Scene Builder. Furthermore, when I move one of the axes Scene Builder crashes. Also, there is no reference to the axes to be found (I wanted to set the X-Scale fixed instead of being dynamic).
Good night so far.
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
In example 3-4 the chart is defined all in code, no scene builder. Have a look at this one.
 
Upvote 0
Top