Skip to content

Avalonia Support? #496

@bclehmann

Description

@bclehmann

Issue to be solved:
Supporting Avalonia would allow interactive plots on Linux and Mac. If you're not familiar, Avalonia feels very similar to WPF, but with a few features absent. Avalonia is in pre-release, so that could well change.

  • If this issue relates to an existing pull request, link to it here.

I have a branch on my fork with a working Avalonia UserControl. Because of the aforementioned absent features, as well as the interest in cross-platform compatibility, not all the same features that WPF and WinForms enjoy are present.

The branch is available here: https://github.com/Benny121221/ScottPlot/tree/avalonia

I can understand that you may be hesitant to support another platform, but I personally believe there is merit in being available on Linux and Mac. Plus, Avalonia feels very similar to WPF, most code can be copy-pasted and then find-and-replaced.

Let me know if you want me to open a PR. If you don't want to enhance your maintenance burden, then I'm happy to release an unofficial Avalonia UserControl, as I have a personal need for Linux support.

  • If this issue relates to a patch, paste the contents of the patch here.

New contributors should review CONTRIBUTING.md:
https://github.com/swharden/ScottPlot/blob/master/CONTRIBUTING.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions