Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hide crosshair? #1255

Closed
beto-rodriguez opened this issue Sep 19, 2023 Discussed in #1254 · 0 comments
Closed

How to hide crosshair? #1255

beto-rodriguez opened this issue Sep 19, 2023 Discussed in #1254 · 0 comments
Labels
enhancement New feature or request priority 0 needs to be fixed asap.
Milestone

Comments

@beto-rodriguez
Copy link
Owner

Discussed in #1254

Originally posted by steffos September 19, 2023
I have a .net maui solution where I use the cartesian chart control.

The charts underlying data is changed by user actions and the chart rerenders just fine.

My chart supports crosshair - when user touches a point in the chart, a crosshair is shown.

Now I need to hide the crosshair every time I change the underlying data but I can't figure out how to do this. It seems that once the crosshair is shown, it stays there even on underlying data refresh and I can't seem to make it disappear.

I did find an InvalidateCrosshair method on the Axis type but that one also takes a point that I don't know how to supply or if it is meant to function the way I want.

Anyone knows how to remove the crosshair on an existing chart control and then not show it until the next time the user taps the chart?

@beto-rodriguez beto-rodriguez added enhancement New feature or request priority 0 needs to be fixed asap. labels Oct 30, 2023
@beto-rodriguez beto-rodriguez added this to the rc-2 milestone Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority 0 needs to be fixed asap.
Projects
None yet
Development

No branches or pull requests

1 participant