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

zooming .NET MAUI #635

Closed
Senso4sLab opened this issue Sep 21, 2022 · 6 comments
Closed

zooming .NET MAUI #635

Senso4sLab opened this issue Sep 21, 2022 · 6 comments
Labels
bug Something isn't working maui priority unknown An external issue where we cannot do much about it. requires external features We can not fix this for now, we need a feature that is out of this library.

Comments

@Senso4sLab
Copy link

Senso4sLab commented Sep 21, 2022

The zooming does not work when the .NET MAUI project is used. I tested on the Android platform.
I came across that this feature is not supported yet, is it true?

When the graph, the first time, is shown the tooltip does not work at first press. You have to tap on the graph a few times, then the tooltip usually shows.

@Senso4sLab
Copy link
Author

I did some additional tests I found out that by changing MinLimit and MaxLimit values the graph is not updated. I have to double-click on the graph to force the axis to update. Is it possible programmatically force graph updating?

@beto-rodriguez
Copy link
Owner

beto-rodriguez commented Oct 5, 2022

Hi @Senso4sLab, zooming has some issues on MAUI but sadly there is not much we can do to fix that.

Take a look at dotnet/maui#6553

I found out that by changing MinLimit and MaxLimit values the graph is not updated.

it should, how are you doing it?

@beto-rodriguez beto-rodriguez added bug Something isn't working requires external features We can not fix this for now, we need a feature that is out of this library. labels Oct 5, 2022
@samosim
Copy link

samosim commented Oct 16, 2022

Beto thanks for reply. let's start from the basics. Please check attached images. In the first image x axes is not updated, when I just click on graph I get dates. The second problem is y axes, I do not know why steps are not linear. Third problem is not visible, but when I click on point the tooltip does not show, I have to click around the point and back on point.
Screenshot_20221016_143731
Screenshot_20221016_143745

@beto-rodriguez beto-rodriguez added the priority unknown An external issue where we cannot do much about it. label Mar 2, 2023
@daltzctr
Copy link

daltzctr commented Jun 9, 2023

Zooming and panning does seem to be completely broken in .NET MAUI targeting desktop/WinUI3. It seems to constantly think left-mouse is pressed, and panning does not seem to be functional at all. It "clips" back to position

@beto-rodriguez
Copy link
Owner

Zooming now works much better with a4045c6 but I cannot find a way to improve zooming in desktop devices, I raised an issue to Maui:

dotnet/maui#16130

@beto-rodriguez
Copy link
Owner

This is finally working properly on beta.950, it works on all the platforms properly, thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working maui priority unknown An external issue where we cannot do much about it. requires external features We can not fix this for now, we need a feature that is out of this library.
Projects
None yet
Development

No branches or pull requests

4 participants