We have a page which consists of a vertical scrollview containing a stack layout with several children elements, one of which is a chart.
The chart has a ChartPanAndZoomBehaviour attached to it with only horizontal scrolling enabled, but whenever we pan the chart the pages scrollview also reacts to the touch input and makes the chart usage awkward since the page scrolls slightly too as you drag your finger across the screen (your finger naturally wanders slightly up/down as you swipe across the screen).
We need a way so that when a drag motion is started on the chart, it first determines the starting direction of the drag.
- If its a vertical drag then the page scrolling is enabled but chart scrolling disabled
- If its horizontal drag the the chart scrolling is enabled and the page scrolling disabled.
I couldn't find any events or anything which get fired when the chart detects touch input.
Is there a way I can make this work how we expect?