Simple chart example

Thread is closed for posting
3 posts, 1 answers
  1. Debashis Pyne
    Debashis Pyne avatar
    66 posts
    Member since:
    Apr 2010

    Posted 23 Aug 2010 Link to this post

    Hi,

    Can anyone please help me with an example to bind a chart in the runtime using code behind?
    I have stored procedures and .Net class files, with Datatable as output, ready with me.

    I need a simple example to bind the chart with these classes' objects in the c# file.

    Thanks...
  2. Answer
    Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 25 Aug 2010 Link to this post

    Hello Debashis,

    To see more information along the lines of the requested functionality, please refer to the following article:

    http://www.telerik.com/help/aspnet-ajax/buildingprogrammaticcreate.html

    as well as this one:

    http://www.telerik.com/help/aspnet-ajax/buildingdatabind.html

    which elaborates on the databinding options for the control.
    I hope this information gets you started properly.

    Sincerely yours,
    Yavor
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Simon
    Simon avatar
    3 posts
    Member since:
    May 2011

    Posted 20 May 2011 Link to this post

    in the code behind for the page that has the RadChart

    OnDataBinding
    RadChart1.DataSource = The Call to your stored procedure here as a DataTable

    Then on Page_Load()
    Call RadChart1.DataBind();

    Hope this helps
Back to Top