How live-charts/livecharts2 works
LiveCharts2 is a cross-platform .NET charting library. Users provide series and values through a platform chart control; the core chart engine measures and lays out the data, creates drawing tasks, and a platform renderer displays the result. The core also includes specialized Cartesian, pie, polar, Sankey, treemap, and map charting. README and the source index document the cross-platform intent and core engine/canvas links; several subsystem paths are supported by the tree but their internal wiring was not sampled, so those links are left unverified.
Main entry points: Chart.cs Chart lifecycle · CoreMotionCanvas.cs Motion canvas · skiasharp Platform controls · CartesianChartEngine.cs Cartesian engine
Components 18
Platform controls
- Platform controls
src/skiasharp - Platform bindings
src/LiveChartsCore/Generators
Chart core
- Chart lifecycle
src/LiveChartsCore/Chart.cs - Series and values
src/LiveChartsCore/ISeries.cs - Chart points
src/LiveChartsCore/Kernel/ChartPoint.cs - Chart layouts
src/LiveChartsCore - Global settings
src/LiveChartsCore/LiveCharts.cs
Chart families
- Cartesian engine
src/LiveChartsCore/CartesianChartEngine.cs - Pie engine
src/LiveChartsCore/PieChartEngine.cs - Polar engine
src/LiveChartsCore/PolarChartEngine.cs - Sankey engine
src/LiveChartsCore/SankeyChartEngine.cs - Treemap engine
src/LiveChartsCore/TreemapChartEngine.cs - Geo maps
src/LiveChartsCore/Geo
Drawing and rendering
- Measure geometry
src/LiveChartsCore/Measure - Motion canvas
src/LiveChartsCore/Motion/CoreMotionCanvas.cs - Paint tasks
src/LiveChartsCore/Painting/Paint.cs - Skia drawing
src/skiasharp/LiveChartsCore.SkiaSharp/Drawing/SkiaSharpDrawingContext.cs
Other components
- Chart user
Connections 21
- Chart user → Platform controls: configures
- Platform controls → Chart lifecycle: hosts
- Chart lifecycle → Series and values: uses
src/LiveChartsCore/Chart.cs - Cartesian engine → Chart lifecycle: uses
src/LiveChartsCore/CartesianChartEngine.cs - Cartesian engine → Motion canvas: draws on
src/LiveChartsCore/CartesianChartEngine.cs - Pie engine → Chart lifecycle: uses
src/LiveChartsCore/PieChartEngine.cs - Pie engine → Motion canvas: draws on
src/LiveChartsCore/PieChartEngine.cs - Polar engine → Chart lifecycle: uses
src/LiveChartsCore/PolarChartEngine.cs - Polar engine → Motion canvas: draws on
src/LiveChartsCore/PolarChartEngine.cs - Sankey engine → Chart lifecycle: uses
src/LiveChartsCore/SankeyChartEngine.cs - Sankey engine → Motion canvas: draws on
src/LiveChartsCore/SankeyChartEngine.cs - Treemap engine → Chart lifecycle: uses
src/LiveChartsCore/TreemapChartEngine.cs - Treemap engine → Motion canvas: draws on
src/LiveChartsCore/TreemapChartEngine.cs - Geo maps → Platform controls: supports maps
- Series and values → Chart points: provides data
src/LiveChartsCore/ISeries.cs - Chart lifecycle → Chart layouts: measures
src/LiveChartsCore/Chart.cs - Chart layouts → Measure geometry: computes bounds
src/LiveChartsCore/CartesianChartEngine.cs - Motion canvas → Paint tasks: collects tasks
src/LiveChartsCore/Motion/CoreMotionCanvas.cs - Skia drawing → Motion canvas: renders
src/skiasharp/LiveChartsCore.SkiaSharp/Drawing/SkiaSharpDrawingContext.cs - Global settings → Chart lifecycle: configures
src/LiveChartsCore/Chart.cs - Platform bindings → Platform controls: binds controls