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
    Marin Bratanov avatar
    3555 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:
    The column names you get from the datasource need to be passed to the corresponding series properties:

    Pie chart configuration is also explained here so it is clearer to which configuration element each property corresponds:

    Marin Bratanov
    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. DevCraft R3 2016 release webinar banner
Back to Top