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

[Solved] Swipe Behavior of RadCartesianChart

1 Answer 73 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.
Mohsen
Top achievements
Rank 1
Mohsen asked on 15 Mar 2013, 04:57 PM
  •           Posted 18 hours ago (permalink)

    I have a page with a flipview, header text, and sidebar text.  Inside the flipview I have created 3 user controls, to show 3 different charts.  I have put some margin between all of the objects on the page, which creates whitespace. When I run my app on a touch enabled device I am able to swipe in the white space, and on the other objects of the page but if I try to swipe on the chart, to change the current flipview item then nothing happens.  I have set the 
    < Chart:RadCartesianChart.Behaviors>
    <Chart:ChartPanAndZoomBehavior PanMode="Horizontal"/> 
    < /Chart:RadCartesianChart.Behaviors>

    with no results.  Is there something else I could do, or is there a bug. I am using C#, Xaml, with MVVM pattern, in a windows 8 app;  everything works fine except this little quirk. 

    Thanks in advance. 

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 18 Mar 2013, 01:40 PM
Hello Mohsen,

The PanAndZoomBehavior of the chart control and the flipview navigation utilize the same touch gestures and therefore they cannot work simultaneously. You will need to explicitly toggle the RadCartesianChart.IsHitTestVisible property to enable / disable the flipview navigation.

Hope this helps.


Greetings,
Giuseppe
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart for XAML
Asked by
Mohsen
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or