ChartView + PivotGrid PieChart

2 posts, 0 answers
  1. It
    It avatar
    6 posts
    Member since:
    Mar 2014

    Posted 11 Jul 2016 Link to this post


    I'm using a chart view bound to a pivot grid which works rather nicely. I was wondering if these controls together support the functionality of radial charts.

    Eg. Pivot only contains Row or Columns. Then we the analysis would be for distinct combination in Rows or Columns show a pie for each aggregated value.
  2. Hristo
    Hristo avatar
    1522 posts

    Posted 12 Jul 2016 Link to this post


    Thank you for writing.

    Due to the specifics of pivot data, when integrated with RadChartView, the pivot control only supports a Cartesian Area. Please refer to the following article describing the available series: Series Types.

    Since you need to generate a PieSeries you can subscribe to the RadPivotGrid`s SelectionChanged event and manually populate a separate chart control with the selected data. The following help article provides information how you can extract the selected cells from the pivot: Iterating Cells. Additionally, the RadGridView – RadChartView integration KB article demonstrates a sample approach how you can populate RadChartView with the desired data considering the source control's selection. 

    I hope this helps. Should you have other questions do not hesitate to write back.

    Hristo Merdjanov
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
Back to Top