Skip to content

Commit 334111a

Browse files
committed
add ScottPlot news to readme
1 parent 0691b36 commit 334111a

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ No XAML / HTML / JavaScript / CSS required. No engine or layers to get in your w
4747
>[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/CSharpMarkup.WinUI.Uno.Extensions.Reactive?color=gold&label=CSharpMarkup.WinUI.Uno.Extensions.Reactive&style=plastic)](https://www.nuget.org/packages/CSharpMarkup.WinUI.Uno.Extensions.Reactive)<br />
4848
>[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/CSharpMarkup.WinUI.Uno.Extensions.Navigation?color=gold&label=CSharpMarkup.WinUI.Uno.Extensions.Navigation&style=plastic)](https://www.nuget.org/packages/CSharpMarkup.WinUI.Uno.Extensions.Navigation)<br />
4949
>[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/CSharpMarkup.WinUI.Uno.Extensions.Navigation.Toolkit?color=gold&label=CSharpMarkup.WinUI.Uno.Extensions.Navigation.Toolkit&style=plastic)](https://www.nuget.org/packages/CSharpMarkup.WinUI.Uno.Extensions.Navigation.Toolkit)<br />
50-
>[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/CSharpMarkup.WinUI.LiveChartsCore.SkiaSharpView?color=gold&label=CSharpMarkup.WinUI.LiveChartsCore.SkiaSharpView&style=plastic)](https://www.nuget.org/packages/CSharpMarkup.WinUI.LiveChartsCore.SkiaSharpView)
50+
>[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/CSharpMarkup.WinUI.LiveChartsCore.SkiaSharpView?color=gold&label=CSharpMarkup.WinUI.LiveChartsCore.SkiaSharpView&style=plastic)](https://www.nuget.org/packages/CSharpMarkup.WinUI.LiveChartsCore.SkiaSharpView)<br />
51+
>[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/CSharpMarkup.WinUI.ScottPlot?color=gold&label=CSharpMarkup.WinUI.ScottPlot&style=plastic)](https://www.nuget.org/packages/CSharpMarkup.WinUI.ScottPlot)
5152
>
5253
>[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/CSharpMarkup.WPF?color=gold&label=CSharpMarkup.WPF&style=plastic)](https://www.nuget.org/packages/CSharpMarkup.WPF)
5354
>
@@ -63,6 +64,13 @@ No XAML / HTML / JavaScript / CSS required. No engine or layers to get in your w
6364
*Looking for C# Markup 1? Find it [here](https://github.com/VincentH-Net/CSharpForMarkup/tree/csharpformarkup1-archive)*
6465

6566
# News
67+
*July 4, 2025*
68+
> ## ScottPlot 5 support added!
69+
[ScottPlot.NET](https://scottplot.net/) - one of the best OSS .NET libraries for graphs and charts - now has full support in C# Markup 3.1 for Uno Platform 6.0!
70+
71+
An [example page using ScottPlot](/src/CSharpMarkup.WinUI.Examples/WinUICsMarkupExamples.Presentation/Example) is added to the example app in this repo, demonstrating how to use ScottPlot with C# Markup 2.
72+
Use the excellent [ScottPlot 5.0 Cookbook](https://scottplot.net/cookbook/5.0/) to create beautiful graphs!
73+
6674
*May 12, 2025*
6775
> ## New C# Markup 3.1 for Uno Platform 6.0
6876
Hot on the heels of the game-changing [Uno 6.0 release](https://platform.uno/blog/uno-platform-studio-6-0/), today's release adds full support for Uno SDK 6.0 / Windows App SDK 1.7 to all CSharpMarkup.WinUI NuGets.

src/CSharpMarkup.WinUI.Examples/WinUICsMarkupExamples.Presentation/Example/ScottPlotPage.logic.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ public sealed partial class ScottPlotPage : BasePage<ScottPlotViewModel>, IBuild
77
{
88
public ScottPlotPage() => BuildUI();
99

10-
void ExampleGraph(UIScottPlot.WinUIPlot plot)
10+
void ExampleGraph(UIScottPlot.WinUIPlot winUIPlot)
1111
{
12-
plot.Plot.Title("Example Graph");
13-
plot.Plot.Add.Signal(Generate.Sin(51));
14-
plot.Plot.Add.Signal(Generate.Cos(51));
15-
plot.Refresh();
12+
var plot = winUIPlot.Plot;
13+
plot.Title("Example Graph");
14+
plot.Add.Signal(Generate.Sin(51));
15+
plot.Add.Signal(Generate.Cos(51));
16+
winUIPlot.Refresh();
1617
}
1718
}

0 commit comments

Comments
 (0)