question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refactor: System.Drawing → SkiaSharp (or Maui.Graphics?)

See original GitHub issue

Microsoft is sunsetting cross-platform support for System.Drawing.Common in .NET 6. This will be highly disruptive since ScottPlot currently uses System.Drawing extensively for rendering graphics.

This issue will track progress toward migrating to an alternative render system. This will likely be Microsoft.Maui.Graphics (which works on all platforms, not just in MAUI apps). System.Drawing will be totally removed from ScottPlot.

This change will be associated with a major version increase (ScottPlot 5.0)

Related: #1413, #1431

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27 (22 by maintainers)

github_iconTop GitHub Comments

3reactions
EFerucommented, Aug 3, 2021

Nice to see the discussions on the Graphics to be used for future ScottPlot. Just as a short feedback, I agree that user interactivity even with many points is the strong point of ScotPlot, that is what made me choose it and I don’t regret it. Going to a hardware accelerated renderer will really boost it at the level that any performance changes will not be felt from user perspective. So, looking forward to it.

2reactions
swhardencommented, Oct 6, 2021

I’m going to close this issue for now, but I’m actively working on it. I got some PRs merged into dotnet/Microsoft.Maui.Graphics 🤓 but it looks like they’re still pretty far from having it production ready

I started collecting some notes here:

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - .NET 6/7 Migration from System.Drawing.Common to ...
I like to migrate my application to Microsoft.Maui.Graphics (as Microsoft suggests on their breaking changes page for .NET 6/7). They support ...
Read more >
Draw with Maui.Graphics and Skia in a C# Console ...
This page documents how I used the Maui. Drawing package to render graphics in memory (using a Skia back-end) and save them as...
Read more >
Draw graphical objects - .NET MAUI
NET MAUI graphics enables you to draw graphical objects on a canvas.
Read more >
How to write a Custom Control for .NET MAUI using SkiaSharp
In this blog post, I will demonstrate how you can easily draw up your own custom controls for .NET MAUI using SkiaSharp and...
Read more >
Feed
NET MAUI Badge View using the Icon property, which offers various ... Step 7: Register the font using the ConfigureFonts method in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found