Skip to content

Commit 5502638

Browse files
committed
FLUT-962617-[feature]: Updated note section
1 parent 6095bc7 commit 5502638

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Flutter/cartesian-charts/zoom-pan.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +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`.
54-
55-
Additionally, ensure that `pinch zooming` is enabled and the `zoomMode` is set to `ZoomMode.xy` for directional zooming to work. The following code sample demonstrates how to enable directional zooming.
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.
5654

5755
{% tabs %}
5856
{% highlight dart hl_lines="7" %}
@@ -90,6 +88,8 @@ Additionally, ensure that `pinch zooming` is enabled and the `zoomMode` is set t
9088
{% endhighlight %}
9189
{% endtabs %}
9290

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.
92+
9393
![Directional Zooming](images/zooming-panning/directional-zooming.gif)
9494

9595
## Double tap zooming

0 commit comments

Comments
 (0)