unoplatform / Uno.Samples

A collection of code samples for the Uno Platform
http://platform.uno/
Other
222 stars 111 forks source link

feat(ScottPlot): Add SQLite Data Persistence and Large Dataset Visualization Sample #837

Closed agneszitte closed 1 month ago

agneszitte commented 1 month ago

This PR adds a new sample demonstrating the integration of SQLite with ScottPlot for data persistence and large dataset visualization. The key focus of this sample is on how to handle large datasets efficiently while persisting the data in a local database for long-term storage.

Key Features:

Sample focus:

Techniques Used:

Tested on all platforms:

Windows, Desktop, WSL2, iOS, Android, WebAssembly and macOS.

https://github.com/user-attachments/assets/e2564dd4-09df-49c8-8742-1fae7ff6824d

kazo0 commented 1 month ago

@agneszitte I am able to get a crash to happen. At least for net8.0-desktop

If I continuously press the Add Random Data I eventually crash with this:

image
agneszitte commented 1 month ago

@agneszitte I am able to get a crash to happen. At least for net8.0-desktop

If I continuously press the Add Random Data I eventually crash with this:

Thanks a lot @kazo0 I will take a look at it!

agneszitte commented 1 month ago

@agneszitte I am able to get a crash to happen. At least for net8.0-desktop If I continuously press the Add Random Data I eventually crash with this:

I am not able to reproduce with the latest changes. Tested on all platforms. Especially after making sure that UI Elements are manipulated on the UI Thread properly.