RadGridView with Bar/Pie chart embeded

2 posts, 0 answers
  1. Mingxue
    Mingxue avatar
    26 posts
    Member since:
    Apr 2016

    Posted 28 Apr 2016 Link to this post


    I have a RadGridView, what I need is to style the cell so that when data type is some series, it can be represented with Bar/line/Area or Pie chart.

    For example, if the data type is basic types, int/string/bool etc, it just shows as is. And if the data type is series, then by default, uses Pie chart. On top of that, user can change the representation from Pie to Bar/line/Area with a drop down selection.

    I hope my question is clear and this is the correct place you could help me with it.


    Many thanks.


  2. Maya
    Maya avatar
    4062 posts

    Posted 02 May 2016 Link to this post

    Hello Mingxue,

    You can try working with CellTemplateSelector and depending on the value of a property to display different control that represents it. 
    If you want to have a different view for a particular column, you can just define a CellTemplate for it and add the chart inside. 

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top