j.pinto Posted December 9, 2010 Report Share Posted December 9, 2010 Hi, I'm developing a tool to display data in realtime mode (around 3000 points at a speed of 50Hz) and I'm trying to understand how this mode works. I already read the documentation for CharFX7 for Java Desktop but there's no reference there to this mode. Searching in your forums I found some references and examples for Visual Studio and I created some code, although I need some help to understand how this works in order to improve by myself. Here is the sample code: chart.getRealTime().setBufferSize(3000); chart.getRealTime().setMode(RealTimeMode.LOOP); // I understand this creates a circular buffer, which is what I want chart.getRealTime().beginAddData(0, RealTimeAction.APPEND); // I cannot understand what is the first argument of this method chart.getData().set(series, point, value); // should I use this to add data? chart.getRealTime().endAddData(true, false); // I also cannot understand what is the meaning of this two arguments I'll appreciate your time and your help Thanks in advance, Jorge Pinto Quote Link to comment Share on other sites More sharing options...
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.