ScottPlot Samples
ScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets. Line plots, bar charts, pie graphs, scatter plots, and more can be created with just a few lines of code.
Quickstart sample
This sample app was created by following the ScottPlot Uno Platform Quickstart documentation.
Screenshots
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Signal plot with 5 million points sample
This sample app was created the same way by following the ScottPlot Uno Platform Quickstart documentation. Only the code-behind defers to display a signal plot with 5 million random points.
SQLite Data Persistence and Large Dataset Visualization Sample
This sample demonstrates how to combine SQLite for database-driven data persistence with ScottPlot for visualizing large datasets. It showcases how to handle and visualize different plot types while persisting the data in a database for long-term storage:
- SignalPlot and SignalConst: These are the most memory-efficient for large datasets with evenly spaced X-values.
- ScatterPlot (with downsampling): Ideal for non-uniform X-values, using downsampling to optimize performance.
- Heatmap: Suitable for visualizing 2D grid data.
The chosen plot types above prioritize performance and visualization quality, especially for platforms like WebAssembly with resource constraints. Other plot types were excluded for this sample due to potential performance issues with large datasets based on ScottPlot documentation.
What is the Uno Platform
Uno Platform is an open-source .NET platform for building single codebase native mobile, web, desktop, and embedded apps quickly. For additional information about Uno Platform or if you have any feedback to share, please refer to the README.md file in this Samples repository.
ScottPlot Support
If you have questions about the open-source ScottPlot plotting library:
- ScottPlot website: https://scottplot.net/
- ScottPlot on GitHub: create an issue or start a discussion
- ScottPlot Discord Server (All are welcome!)