Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XAML and hot reload #1851

Open
wants to merge 24 commits into
base: dev
Choose a base branch
from
Open

XAML and hot reload #1851

wants to merge 24 commits into from

Conversation

beto-rodriguez
Copy link
Owner

@beto-rodriguez beto-rodriguez commented Mar 20, 2025

This is a possible solution for #1823, this PR adds a source generator that creates XAML-friendly objects, this way we can completely build charts only with XAML, this PR does:

  1. Creates a source generator that wraps LiveCharts objects into a new object that can be placed in the UI visual tree, this allows to use bindings and styles using the UI framework (Maui, Avalonia, Uno, WPF, WinUI), this should be much intuitive for the developer.
  2. Because things are now XAML-friendly, hot reload just works to build charts:

hot-reload

  1. We can now completely define the look of the charts in the view, in older versions, when the chart required to customize the look, this had to be defined in the View Model, we can now completely separate the the UI style from the data to plot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant