This example shows how to configure Telerik Chart for ASP.NET MVC to bind to data returned from an Ajax request. This operation mode is referred to as "Ajax binding".

The required steps are:

  1. Configure the Chart to use Ajax binding via the DataBinding method:
    <%= Html.Telerik().Chart<SalesData>()
            .DataBinding(dataBinding => dataBinding.Ajax().Select("_SalesData", "Chart"))
            .Name("Chart")
    %>
  2. The action specified by the Select method return JsonResult.
    public ActionResult _Select()
    {
        return Json(SalesDataBuilder.GetCollection());
    }