Page 1 of 1

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

Posted: Sat Jun 08, 2024 5:03 pm
by 30297515
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.

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

Posted: Sat Jun 08, 2024 5:17 pm
by 30297515
Previously attachment contained an incorrect version of the files.
Use the new UpdateChangedFiles.zip attachment.

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

Posted: Tue Jun 11, 2024 5:36 pm
by Pep
Hello,

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

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

Posted: Mon Jun 24, 2024 2:41 pm
by 30297515
What have you found out? It has been 13 days!

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

Posted: Tue Jun 25, 2024 7:17 am
by Pep
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,

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

Posted: Thu Jul 18, 2024 1:07 pm
by Pep
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,

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

Posted: Fri Jul 19, 2024 11:58 am
by 30297515
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.

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

Posted: Mon Jul 22, 2024 3:43 pm
by Pep
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.