Skip to content

SyncfusionExamples/How-to-set-the-maximum-zoom-level-for-.NET-MAUI-Cartesian-Charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

How to set the maximum zoom level for .NET MAUI Cartesian Charts

This repository contains a sample project demonstrating how to set maximum zoom level for a .NET MAUI Toolkit using Syncfusion controls.

Cartesian Chart

A Cartesian chart uses a rectangular coordinate system to plot data points on an X and Y axis. The SfCartesianChart control from Syncfusion for .NET MAUI provides a flexible and powerful way to create these charts with various data visualization options.

Tooltips to enhance data interactivity and user experience. Tooltips can present detailed information about each data point, making it easier for users to understand the underlying data. Trackball, which allows to show the tooltip for the nearest data points when you interact with the chart area.

By customizing the Maximum Zoom Level in ChartZoomPanBehavior, can control the extent of zooming allowed on charts, enhancing the user experience and maintaining the integrity of the chart's data representation.

Purpose

Limiting the zoom level helps:

  • Maintain chart readability.
  • Prevent performance degradation due to rendering large data ranges.
  • Provide a consistent user experience across devices.

Use Case

This feature is particularly useful in scenarios such as:

  • Financial dashboards where zooming into time-series data is common.
  • Scientific data visualization where precision is key.
  • Mobile applications where screen space is limited.

In this example, we will explore how to set Maximum Zoom Level for Cartesian Chart in .NET MAUI Toolkit. maximumZoomLevel

Troubleshooting

If you are facing a path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.

For a step by step procedure, refer to the maximum zoom level KB article.

Releases

No releases published

Packages

No packages published

Contributors 6

Languages