Blazor Chart with Remote Data Example.

Charts / Data Binding / Remote Data

This sample shows the way in which the Charts component can be bound to a remote service. The data source of the chart is bound to remote data using the DataManager component.

Loading Syncfusion Blazor Server Demos…

The Charts component supports data binding. The DataManager component can be used to configure the Charts component to bind remote data.

The DataManager, which acts as an interface between the service endpoint and the chart, will require the following minimum information to interact properly with the service endpoint:

The adaptor is responsible for processing the response and request from and to the service endpoint. The Syncfusion.Blazor.Data namespace provides some predefined adaptors designed to interact with particular service endpoints:

  • UrlAdaptor - Use this to interact with any remote service. This is the base adaptor for all remote based adaptors.
  • ODataAdaptor- Use this to interact with OData endpoints.
  • ODataV4Adaptor - Use this to interact with OData V4 endpoints.
  • WebApiAdaptor - Use this to interact with Web API created under OData standards.

In this demo, remote data is bound by assigning service data as an instance of DataManager component and a query.

More information about the remote data binding can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE