how to fill RadhtmlChart programmatically

2 posts, 0 answers
  1. Olivier
    Olivier avatar
    3 posts
    Member since:
    Jan 2012

    Posted 17 Aug 2016 Link to this post


    i am using RadhtmlChart  and i want to fill RadhtmlChart programmatically using simple SQL request.


    thank you very much

  2. Marin Bratanov
    Marin Bratanov avatar
    3908 posts

    Posted 18 Aug 2016 Link to this post

    Hi Olivier,

    I advise that you start from the following articles to see how data binding the control works:


    The examples show a declared control, but you can easily create it in the code-behind like any other control.

    If you will also be obtaining the data in the code-behind, the following article shows how you can data bind the chart to a custom structure: and the following one shows hot to use a DataSet:

    You may also find useful the following article on creating series items programmatically and mixing that with data binding:


    Marin Bratanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top