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

Unbind from chart

1 Answer 81 Views
PivotGrid and PivotFieldList
This is a migrated thread and some comments may be shown as answers.
Mauro Pederzolli
Top achievements
Rank 1
Mauro Pederzolli asked on 12 Jun 2014, 09:01 AM
Hi,
there is a way to programmatically unbind a radchart control from a radpivotgrid ?
I've try to set the chart DataSource to null but seems that is not working.
Thank you.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 17 Jun 2014, 07:14 AM
Hello Mauro,

Thank you for writing.

You can set the associated chart for the pivot to null in this case (also you can clear the series first): 
this.radChartView1.Series.Clear();
this.radPivotGrid1.ChartDataProvider.ChartView = null;

Please let me know if there is something else I can help you with. 
 
Regards,
Dimitar
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
PivotGrid and PivotFieldList
Asked by
Mauro Pederzolli
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or