This is a migrated thread and some comments may be shown as answers.

ChartView + PivotGrid PieChart

1 Answer 59 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
It
Top achievements
Rank 1
It asked on 11 Jul 2016, 08:52 AM
Hi, 

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.

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 12 Jul 2016, 11:31 AM
Hello,

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 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.

Regards,
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.
Tags
ChartView
Asked by
It
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or