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

databinding automatically

3 Answers 96 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
MAJID
Top achievements
Rank 1
MAJID asked on 01 Oct 2019, 04:16 PM
I use pivotgrid and chartview that is integrated , i  don't want when i drag my pivot item to Aggregate or filter area chartview automatically refresh . i should use button for that  how can i do that? thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 03 Oct 2019, 02:51 PM

Hello Majid,

When RadChartView is bound to RadPivotGrid populating with data is performed by the PivotGridChartDataProvider. By default, the chart updates automatically once the selection is made. If you want to do the update on a button click you should implement а custom PivotGridChartDataProvider class and use it in the Click event.

I have also prepared a sample project for your reference which result is illustrated in the attached gif file. Could you please refer to it and let me know how it works for you?

I am looking forward to your reply.

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
MAJID
Top achievements
Rank 1
answered on 05 Oct 2019, 09:58 AM

That's very kind of you.

But it's necessary to be "enabled updates" checkbox ? i test it without it it doesn't work.

0
MAJID
Top achievements
Rank 1
answered on 05 Oct 2019, 10:16 AM

this.radPivotGrid1.ChartDataProvider.BeginUpdate();

Sorry i missed above code in mine . It is Completely Right.

if possible please delete my post.

Tags
ChartView
Asked by
MAJID
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
MAJID
Top achievements
Rank 1
Share this question
or