• Home
  • Nchart3D
  • NGrid
  • Customers
  • Live demo
  • Download
  • Purchase
  • Blog
  • Support
  • Login
Contact us Terms of service Privacy policy ©   Anjuta Software
I want to update the chart in realtime, but updateData seems to be very slow. How can I seed it up?
by Eugene at 20 Dec. 2016
  1. NChart3D FAQ
  2. Swift API
  3. I want to update the chart in realtime, but updateData seems to be very slow. How can I seed it up?

There are several optimization options depending on the circumstances.

If the number of chart points does not change and you are updating values only, you can use so called streaming mode. You can find the streaming usage example in the sample called Streaming inside the NChart3D package.

If the number of points change, but you are sure, minimal and maximal values wont change, you can use this method instead of regular updateData.

If minimum and maximum change as well as the number of points, but the points are changed incrementally (new points are added, but the old ones are still in the chart), you can use special mechanism for data appending. You can find the usage example of this mechanism in the sample called AutoScroll inside the NChart3D package.

Also, if you don't need points to be selected by click, you can set this property to false. This will speed up data updating in all the cases.

Was this article helpful?

Unfortunately, you can't vote for this article. Please log in to be able to vote.

0 out of 0 found this helpful


Comments


No comments yet.

Please log in to place a comment.