TeeChart MAUI: Zoom: Application fails to zoom after the following sequence of steps
Posted: 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.
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.