2.0.0-rc2
Pre-releaseThe second release candidate of LiveCharts, this is the last preview before the first GA release 🎉.
Performance
Before the first GA release, I decided to spend some time improving the high-performance algorithm, in the next video we are adding 100,000 points each 50ms from multiple threads, then we keep only the last 50 million points in the UI/Memory.
Everything is supper responsive and animated :)
This is a virtualization algorithm, it takes all the the data, and builds a smaller but accurate representation of the full data set, the algorithm evaluates the data at different zoom levels, this takes about 200ms each 10 million records, then it saves some key points in memory (about 13% extra memory allocated), finally when the user interacts with the chart (zooming/panning), the chart can respond in less than 1ms, no matter the total number of records.
This algorithm also works as a circular array, this means that the data can change with basically no performance impact (unless the capacity grows).
These are some benchmarks of the current version:
The high-performance package will be available for everyone with the next release of the library.
Improved interaction on Android/iOS
User interactions with the chart (Zooming, Panning, crosshairs, tapping, scrolling), work much better on both platforms.
New articles
- Explains how to draw directly on the chart using SkiaSharp: https://livecharts.dev/docs/Maui/2.0.0-rc2/samples.general.drawOnCanvas
- Sets pie charts labels in the outsie: https://livecharts.dev/docs/Maui/2.0.0-rc2/samples.pies.outlabels
issues fixed
Breaking Changes
Sadly, the performance review required to make a small but braking change, if you are using custom mappers, you must update to the new API:
https://livecharts.dev/docs/Maui/2.0.0-rc2/Overview.Mappers
What's Changed
- Bump SkiaSharp from 2.88.5 to 2.88.6 in /src/skiasharp/LiveChartsCore.SkiaSharp by @dependabot in #1270
- RC1.1 by @beto-rodriguez in #1276
- rc.1.2 by @beto-rodriguez in #1278
- Reload MotionCanvas on MAUI by @christiaanderidder in #1292
- Drop duplicated phrase by @crayxt in #1310
- Update Uno to 5.x by @beto-rodriguez in #1339
- Fixes 1329 by @beto-rodriguez in #1341
- Improves user interaction with the charts by @beto-rodriguez in #1349
- rc2 by @beto-rodriguez in #1352
New Contributors
- @christiaanderidder made their first contribution in #1292
- @crayxt made their first contribution in #1310
Full Changelog: 2.0.0-rc1...v2.0.0-rc2