• Material 3
  • Fluent
  • Bootstrap v5
  • Tailwind CSS
  • High Contrast
Preferences
Theme Selection
Theme Modes
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Remote Data in ASP.NET MVC Chart Control

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.

DEMO
SOURCE

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:

  • DataManager.Url - Defines the service endpoint to fetch the data.
  • DataManager.Adaptor - Defines the adaptor option. By default, ODataAdaptor is used for remote binding.

The adaptor is responsible for processing the response and request from and to the service endpoint. They are,

  • 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 ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE