Skip to content

A quick-start example to help you add the Syncfusion Flutter Charts package to a Flutter app. You will learn how to add a Cartesian chart to a Flutter project. You will then learn how to show/hide the crosshair in Flutter Cartesian chart using the public methods.

Notifications You must be signed in to change notification settings

SyncfusionExamples/public-methods-crosshair-flutter-chart

Repository files navigation

Crosshair public methods in flutter chart

A quick-start example to help you add the Syncfusion Flutter Charts package to a Flutter app. You will learn how to add a Cartesian chart to a Flutter project. You will then learn how to show/hide the crosshair in Flutter Cartesian chart using the public methods. Flutter Cartesian chart widget provides support for showing or hiding the crosshair dynamically using the public methods. Public methods are methods that can be called by using the class object where they are defined. Likewise, chart widget also has some public methods to show or hide the crosshair dynamically such as.

  • show
  • showByIndex
  • hide

Documentation: https://help.syncfusion.com/flutter/cartesian-charts/methods#methods-in-crosshairbehavior

Requirements to run the demo

How to run this application

To run this application, you need to first clone or download the ‘public methods crosshair flutter chart’ repository and open it in your preferred IDE. Then, build and run your project to view the output.

Further help

For more help, check the Syncfusion Flutter documentation, or Flutter documentation.

About

A quick-start example to help you add the Syncfusion Flutter Charts package to a Flutter app. You will learn how to add a Cartesian chart to a Flutter project. You will then learn how to show/hide the crosshair in Flutter Cartesian chart using the public methods.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published