R2 2018 Release is here – now with modern UI for chatbots and more! See what’s new!
Change Theme

SASS Themes

    LESS Themes

      SASS Theme Builder

      Create new or customize SASS themes
      Launch Theme Builder

      Binding to remote data


      The Telerik Core Chart offers two ways of data-binding:

      • Server - the chart will bind to a supplied model
      • Ajax - the chart will perform Ajax requests to populate its series

      For remote data binding you need to specify a remote endpoint or web service returning data in JSON/JSONP format and utilize the DataSource as a mediator between the chart and the underlying data. To make the connection to the remote endpoint and process the data properly, the data source needs information about the web service URL(s), the request type, the response data type, and the structure (schema) of the response, in case it is more complex than a plain array of objects.

      You can see in this demo how the ASP.NET Core Bar chart can be bound to remote data by configuring the DataSource transport which defines how the DataSource interacts with remote data.

      ASP.NET Core source

      Also available for:

      • remote_data_binding.cshtml
      • Remote_Data_BindingController.cs
      • ElectricityProduction.cs
      • ChartDataRepository.cs

      Support & learning resources

      Bar Charts for other technologies