How to bind SQL date to RadHtmlChart control?

Thread is closed for posting
2 posts, 0 answers
  1. Sam
    Sam avatar
    5 posts
    Member since:
    Aug 2013

    Posted 25 Aug 2013 Link to this post

    Hi All,

    How to bind SQL data to RadHtmlChart-pie control? All example are just binding static data only, i want to know how to bind sql query result (Name and total) columns in RadHtmlChart-pie?
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 28 Aug 2013 Link to this post

    Hello Sam,

    You have several responses in the ticket you have opened with the same question and I am adding a shorter version here as a resource that can help other people with similar questions:

    On binding data:
    first, examining this demo will help you: http://demos.telerik.com/aspnet-ajax/htmlchart/examples/databinding/database/defaultcs.aspx.
    The column names you get from the datasource need to be passed to the corresponding series properties: http://www.telerik.com/help/aspnet-ajax/htmlchart-server-side-api-configure-series.html.

    Pie chart configuration is also explained here so it is clearer to which configuration element each property corresponds: http://www.telerik.com/help/aspnet-ajax/htmlchart-types-pie-chart.html.



    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top