Jump to content
JChartFX Community
  • 0

realtime data examples are lacking.



generally the documentation for the site and plugin are awesome, but when it comes to realtime data it seems a bit broken.

here is the example given on the realtime documentation example ::

var realTime = chart1.getRealTime();



realTime.beginAddData(1, cfx.RealTimeAction.Append);

data.setItem(0, 0, g_realTimeValue);

realTime.endAddData(false, false);

what is data in this snippet? is it chart1.getData?

can we please have a full example showing some sort of live data, preferably with random numbers over time or something.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...