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

[Solved] RadChart Metro control inside ScrollViewer root control

2 Answers 102 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 13 Sep 2012, 12:18 AM
Hi all,

I have scenario where Chart control placed inside ScrollViewer along with other content (title labels, buttons, map, etc).
I can scroll my content everywhere except chart area. It seems that chart control handles gestures and not propagates scroll to the root ScrollViewer control.

I tried to disable scroll at chart as well as set  SetIsHorizontalScrollChainingEnabled = true but wasn't be able to get desired result.
Any ideas how could I fix it?

Thanks,
Alex.

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvyatko
Telerik team
answered on 13 Sep 2012, 11:05 AM
Hi Alex,

 Form the information provided we can speculate that the chart has panandzoom/trackball behavior defined. If this is the case this behavior changes the default manipulation mode of the chart from its default value (System) in order to be able to receive manipulation events (in order to handle pan and zoom gestures). Unfortunately, changing the manipulation mode from system results in ScrollViewer not been able to handle manipulation events.

That being said, in order to be able to operate the ScrollViewer needs to be the only element that receives the manipulation events (chart should not have such behaviors defined).

Let us know if this helps.

Greetings,
Tsvyatko
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Alex
Top achievements
Rank 1
answered on 13 Sep 2012, 02:48 PM
Disabling trackball behavior helped me to scroll thought whole screen.
But the point is that I need trackball (or redesign whole screen concept).

Thank you for your clarification.
Tags
Chart for XAML
Asked by
Alex
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Alex
Top achievements
Rank 1
Share this question
or