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.

ScottPlot Quickstart Sample App

Screenshots

ScottPlot Quickstart Sample App - Windows Windows ScottPlot Quickstart Sample App - WebAssembly WebAssembly ScottPlot Quickstart Sample App - Android Android
ScottPlot Quickstart Sample App - iOS iOS ScottPlot Quickstart Sample App - Mac Catalyst Mac Catalyst ScottPlot Quickstart Sample App - Desktop Desktop
ScottPlot Quickstart Sample App - Desktop WSL Desktop WSL

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.

ScottPlot Demo Sample App - Signal plot with 5 million 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.

ScottPlot Demo Sample App - SQLite Data Persistence with ScottPlot

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: