Aprillz.MewUI.MewCharts - A MewUI port of LiveCharts2 #172
Replies: 1 comment
-
Aprillz.MewUI.MewChartsCharting for MewUI, powered by the LiveChartsCore engine compiled into a pure MewUI No SkiaSharp dependency. The LiveChartsCore engine (v2.0.4, MIT) is compiled directly into this assembly and drawn through MewUI's own graphics abstraction, so it renders on every MewUI backend (Direct2D, GDI, MewVG/OpenGL) across Win32, macOS, and X11. The only runtime dependency is InstallTargets Quick startusing Aprillz.MewUI.MewCharts.Views; // chart controls + series (CartesianChart, LineSeries<T>, ...)
var chart = new CartesianChart
{
Series =
[
new LineSeries<double>(2, 1, 3, 5, 3, 4, 6),
new LineSeries<double>(4, 2, 5, 2, 4, 5, 3),
],
};
// chart is a MewUI FrameworkElement: put it in any layout.
window.Content = chart;The chart auto-initializes the MewUI engine on first use; no explicit setup call is required. If you want to configure themes or defaults up front, call Chart controlsAll three live in
The convenience series types ( BindingThe chart's view properties (Series, axes, title, legend/tooltip paints and positions, zoom mode, animation speed, theme, and more) are bindable like any other MewUI property. Each property chart.Bind(ChartViewBase.SeriesProperty, source, SourceType.SeriesProperty);BackendsMewCharts only uses Building from sourceLiveChartsCore is brought in as a git submodule and compiled into this assembly, so initialize submodules before building: The submodule ( Samples
Known differences / limits
License
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The port is still in progress, but most of the core functionality has now been completed.
MewCharts is rendered directly through MewUI’s rendering backend, without any SkiaSharp dependency.
It also runs well on Raspberry Pi 4.
Beta Was this translation helpful? Give feedback.
All reactions