Skip to content

Commit 56ff047

Browse files
Merge pull request #2 from SyncfusionExamples/Improve-maximum-zoom-level-kb-in-Maui
Improve the maximum zoom level KB in .NET MAUI Chart
2 parents 716ac9d + 43bad93 commit 56ff047

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

MaximumZoomLevel/MaximumZoomLevel/MaximumZoomLevel.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
66
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7-
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
88

99
<!-- Note for MacCatalyst:
1010
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ A [Cartesian chart](https://www.syncfusion.com/maui-controls/maui-cartesian-char
1010

1111
By customizing the [Maximum Zoom Level](https://help.syncfusion.com/maui-toolkit/cartesian-charts/zooming-and-panning#maximum-zoom-level) in [ChartZoomPanBehavior](https://help.syncfusion.com/cr/maui-toolkit/Syncfusion.Maui.Toolkit.Charts.ChartZoomPanBehavior.html), can control the extent of zooming allowed on charts, enhancing the user experience and maintaining the integrity of the chart's data representation.
1212

13+
## Purpose
14+
Limiting the zoom level helps:
15+
- Maintain chart readability.
16+
- Prevent performance degradation due to rendering large data ranges.
17+
- Provide a consistent user experience across devices.
18+
19+
## Use Case
20+
This feature is particularly useful in scenarios such as:
21+
- Financial dashboards where zooming into time-series data is common.
22+
- Scientific data visualization where precision is key.
23+
- Mobile applications where screen space is limited.
24+
1325
In this example, we will explore how to set Maximum Zoom Level for Cartesian Chart in .NET MAUI Toolkit.
1426
![maximumZoomLevel](https://github.com/user-attachments/assets/1b79db92-99cd-4574-9b8f-bd7bd07168a2)
1527

0 commit comments

Comments
 (0)