Pre loader

Binding to DataTable

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


I have DataTable with ~100,000 records. Table have 2 columns “Val” (double) and “Date” (DateTime). Every 250 ms new record adding to table.
Is it possible bind this table to SciChart (XAxis – “Date”, YAxis – “Val”) with realtime updating chart while data adding? Zoom and scrolling must be available too.

  • You must to post comments

Hi there,

Unfortunately, you can’t bind to DataTable directly, we require that data is loaded into a proprietary DataSeries. You may however create and fill DataSeries in a ViewModel and bind a chart to this is several ways, which are demonstrated throughout our examples. You can use these techniques to achieve decoupled, testable viewmodels.

Also, we provide a number of ways to fill data-series with data (via MVVM) and update it when required, and there are several real-time examples where you can see this in action, such as Real time ticking stock chart and Realtime Fifo chart, which demonstrates usage of FIFO(circular) buffer.

The reason for our API is because allowing users to data-bind to any data model can be extremely slow. By requiring users to store points in an optimized, proprietary buffer we are able to achieve a host of optimizations to achieve high performance charting of tens of millions of data-points.

Zooming and scrolling are separated from data(it can be used independently), we provide nice and extensible API for interaction via ChartModifiers, please, take a look at Interacting with a chart via modifiers tutorial(a bit out of date, we are going to update it ASAP) and ChartModifier overview from documentation for more info.

Please, feel free to ask if you have any questions!

Best regards,

  • You must to post comments

I am considering applying server-side licensing for my javerScript application.

In the document below, there is a phrase “Our server-side licensing component is written in C++.”

However, there is only sample code on the provided github.

I wonder if there is a sample code implemented in C++ for server-side licensing.

Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?

  • Yuriy Zadereckiy
    Hi there, Thank you for posting the code :) I'm sure it will be useful for other users! One remark regarding implementation: in SciChart 2.0v DataSet is no longer in usage, so in 2.0 you should create DataSeries and map them to RenderableSeries directly, or use SeriesSource instead (both approaches are demonstrated in our example suite). Thanks, Yuriy
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.