Skip to content

beta.700

Pre-release
Pre-release
Compare
Choose a tag to compare
@beto-rodriguez beto-rodriguez released this 19 Dec 07:33
· 1159 commits to master since this release
362ec81

Beta.700

Multiple improvements in the Blazor WebAssembly view, take a look at this web site, it is running LiveCharts on the browser with an amazing performance. Improvements also in memory management by @pkindruk, now the library consumes less resources. Themes are ready for production and will soon be available for everyone. Tooltips had a full review; tooltips are now completely drawn by the library instead of the UI framework.

LiveCharts on the browser

Take a look at LiveCharts running in the broswer

Multiple improvements in net 7 allow LiveCharts to run in the browser, with an amazing performance via Blazor WASM, you can find that site in this repository, it is Blazor Sample project, the loading time of the site is amazing for a SPA, Blazor is just amazing.

Memory management

The library is more efficient to render the charts, this is an effort of @pkindruk that made significant improvements on memory allocation.

Themes

Themes had a deep review, there are basically no changes on the default themes, but internally there is a new world behind them, themes docs will be public soon, it is now super easy to create themes for the library.

Tooltips and legends

Tooltips and legends are now completely handled by the library, due multiple issues we faced with the old approach (use the UI framework to render them), Tooltips are now animated, have rounded borders, shadows and should consume less resources, in older versions all those previous factors depend on the UI Framework.

Breaking changes

Tooltips and legends fonts and text size are now handled by the library, this means that we must use the LiveCharts API to give format to text in tooltips and legends:

cartesianChart = new CartesianChart
{
    Series = viewModel.Series,

    TooltipTextSize = 16, 
    TooltipTextPaint = new SolidColorPaint 
    { 
        Color = new SKColor(242, 244, 195), 
        SKTypeface = SKTypeface.FromFamilyName("Courier New") 
    }, 
    TooltipBackgroundPaint =new SolidColorPaint(new SKColor(72, 0, 50))
};

The site is updated you can there find a sample for your target UI framework.

This has multiple benefits, we have full control over what is going on all the platforms, instead of depending on 9 different APIS (all the platforms) also tooltips and legends are now team-able.

What's Changed

New Contributors

There are multiple issues fixed, please take a look at the full log for more details

Full Changelog: beta.500...v2.0.0-beta.700