TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
McSaverCharting
Newbie
Newbie
Posts: 15
Joined: Mon Jan 29, 2024 12:00 am

TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

Post by McSaverCharting » Sat Jun 08, 2024 5:03 pm

Test Environment:
PC: Windows11 Operating System, Visual Studio 2022
Updated all NU get Packages in the solution to latest version as of 06/08/2024

Debugged: Window Machine (Window 11)

Replace the attached files in your Sample Maui project
1) MauiProgram.cs. Added one line to add logging
2) CandleChart.xaml.cs. Added a several lines of code


Application fails to zoom after the following sequence of steps

Start App
Click on “Using Candle Chart”
Click on chart and drag mouse to the right and then release (Zooms in)
Click on chart and drag mouse to the right and then release (Zooms in again)
Click on chart and drag mouse to the left and then release (Unzoom)

Click on chart and drag mouse to the right and then release (sometimes Fails to Zooms in)

Click on chart and drag mouse to the right and then release (Zooms in again)
Click on chart and drag mouse to the left and then release (Unzoom)

Click on chart and drag mouse to the right and then release (sometimesnFails to Zooms in)


Sometimes, you need to repeat the drag related steps above to see the failure


The Debug windows will look something like this:


0 Zoomed: True
1 Zoomed: True
2 UnZoomed: True
3 Zoomed: True
4 UnZoomed: True
5 UnZoomed: True
6 UnZoomed: True
7 Zoomed: True
8 UnZoomed: True
9 UnZoomed: True
10 Zoomed: True
11 Zoomed: True
The thread '[Thread Destroyed]' (5804) has exited with code 0 (0x0).
The thread '[Thread Destroyed]' (20924) has exited with code 0 (0x0).
The thread '[Thread Destroyed]' (20688) has exited with code 0 (0x0).
The thread '[Thread Destroyed]' (16304) has exited with code 0 (0x0).


Note: when zooming and / or unzooming the callback functions are called more than once per operation. Not sure why this would happen, while this is not a significant issue it is a bug.
Attachments
ChangedFiles.zip
(1.96 KiB) Downloaded 3413 times

McSaverCharting
Newbie
Newbie
Posts: 15
Joined: Mon Jan 29, 2024 12:00 am

Re: TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

Post by McSaverCharting » Sat Jun 08, 2024 5:17 pm

Previously attachment contained an incorrect version of the files.
Use the new UpdateChangedFiles.zip attachment.
Attachments
UpdatedChangedFiles.zip
(1.97 KiB) Downloaded 3440 times

Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

Post by Pep » Tue Jun 11, 2024 5:36 pm

Hello,

ok, let me check latest project you've send and back to you asap.
Thanks

McSaverCharting
Newbie
Newbie
Posts: 15
Joined: Mon Jan 29, 2024 12:00 am

Re: TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

Post by McSaverCharting » Mon Jun 24, 2024 2:41 pm

What have you found out? It has been 13 days!

Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

Post by Pep » Tue Jun 25, 2024 7:17 am

Hello,

sorry for delay finding a solution to this problem. We still not find a good solution to this. I hope we're working on it. We'll back here asap and also advise directly to you.

best regards,

Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

Post by Pep » Thu Jul 18, 2024 1:07 pm

Hello.
just to inform that we've just published a new TeeChart NET for MAUI nuget package that fixes the problem and improves the what that works. If you can check at you side.

Many thanks,

McSaverCharting
Newbie
Newbie
Posts: 15
Joined: Mon Jan 29, 2024 12:00 am

Re: TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

Post by McSaverCharting » Fri Jul 19, 2024 11:58 am

Seems to be better, but sometimes when dragging left to right it invokes Unzoom instead of Zoom. Only after dragging from right to left a second time will things began to work again.

I am no longer using your automatic zoom and unzoom feature. I have written my own and it works.

Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps

Post by Pep » Mon Jul 22, 2024 3:43 pm

Hello,

ok, let me recheck this that you mention.
I am no longer using your automatic zoom and unzoom feature. I have written my own and it works.
Great, I'm glad to hear this.

Post Reply