Skip to content

Commit 94ac143

Browse files
committed
FLUT-962617-[feature]: Updated UG content
1 parent 103dcf2 commit 94ac143

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Flutter/cartesian-charts/zoom-pan.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Pinch zooming can be enabled by [`enablePinching`](https://pub.dev/documentation
5050

5151
## Directional zooming
5252

53-
The directional zooming feature improves the zoom experience by allowing you to zoom in and out in a specific direction. To enable this feature, set the [`enableDirectionalZooming`]() property to `true`, the default value is `false`. The following code sample demonstrates how to enable directional zooming.
53+
The directional zooming feature improves the zoom experience by allowing users to zoom in and out in a specific direction (horizontal, vertical, or diagonal) depending on the angle of their pinch or drag gesture. To enable this feature, set the [`enableDirectionalZooming`]() property to `true`, the default value is `false`. The following code sample demonstrates how to enable directional zooming.
5454

5555
{% tabs %}
5656
{% highlight dart hl_lines="7" %}
@@ -88,7 +88,9 @@ The directional zooming feature improves the zoom experience by allowing you to
8888
{% endhighlight %}
8989
{% endtabs %}
9090

91-
>**Note**: Directional zooming works only when [`enablePinching`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ZoomPanBehavior/enablePinching.html) is true and [`zoomMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ZoomPanBehavior/zoomMode.html) is [`ZoomMode.xy`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ZoomMode.html#xy), as it relies on the pinch gesture direction to determine the zoom axis.
91+
>**Note**:
92+
* Directional zooming functions when both [`enableDirectionalZooming`]() and [`enablePinching`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ZoomPanBehavior/enablePinching.html) are set to `true`, and [`zoomMode`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ZoomPanBehavior/zoomMode.html) is set to [`ZoomMode.xy`](https://pub.dev/documentation/syncfusion_flutter_charts/latest/charts/ZoomMode.html#xy).
93+
* This feature is intended for touch gestures and is ineffective with a mouse or trackpad.
9294

9395
![Directional Zooming](images/zooming-panning/directional-zooming.gif)
9496

0 commit comments

Comments
 (0)