Skip to content

Bump LiveChartsCore.SkiaSharpView.Avalonia from 2.0.0-rc2 to 2.0.0-rc5.4 - #20

Merged
chemodun merged 1 commit into
mainfrom
dependabot/nuget/src/LiveChartsCore.SkiaSharpView.Avalonia-2.0.0-rc5.4
Sep 10, 2025
Merged

Bump LiveChartsCore.SkiaSharpView.Avalonia from 2.0.0-rc2 to 2.0.0-rc5.4#20
chemodun merged 1 commit into
mainfrom
dependabot/nuget/src/LiveChartsCore.SkiaSharpView.Avalonia-2.0.0-rc5.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 9, 2025

Copy link
Copy Markdown
Contributor

Updated LiveChartsCore.SkiaSharpView.Avalonia from 2.0.0-rc2 to 2.0.0-rc5.4.

Release notes

Sourced from LiveChartsCore.SkiaSharpView.Avalonia's releases.

2.0.0-rc5

This release brings a lot of improvements to the library, more than 400 commits from the last release; The library it is now compatible with net 9 on Maui, uses SkiaSharp 3 by default (when the UI framework supports it), it supports now GPU rendering (when the UI framework supports it), fixes a lot of pointer-interaction-related issues, improves events, visual elements are easier to customize, and also the drawing engine was re-structured.

Drawing engine improvements

The drawing engine in older versions was really simple, as the library evolved new features were required, like Layouts, but there was one thing missing, when an element was inside a layout, Canvas transform was not applied to the children, this is now supported and required important changes in the internal code of the library that handles drawing, this feature is now used by default on tooltips:

t

The opacity and scale from the tooltip geometry is also applied to the content inside the tooltip, that was missing in the library and was impossible in older versions, it is a small detail but was required.

The drawing engine code is much cleaner now, the library used interfaces to define all shapes in the core of library, for example the IRoundedRectangleGeometry, then on the SkiaSharp assembly, there was an implementation of this interface; Now instead there is a base abstract class in the core of the library (BaseRoundedRectangleGeometry that inherits from DrawnGeometry), this base class handles animations and transforms, then on the SkiaSharp assembly, we inherit from this base class and just use SkiaSharp to draw the rectangle (see RoundedRectangleGeometry), this is much cleaner and has the potential to remove the dependency of the library on SkiaSharp.

More info at #​1705.

Maui Net 9 friendly

in older versions, Maui handlers were not registered following the Maui logic, this caused issues like #​1684, or #​1703 this is now fixed, but there are breaking changes, you must now call .UseLiveCharts() in the MauiProgram.cs file, more info in the installation guide.

New Visual elements

VisualElements felt hacky, they were hard to customize, now it is much easier to draw anything we need in the canvas, there a lot of new examples in the web site, the old Visuals are still supported but some of them are marked as obsolete.

GPU rendering

When your app starts, you can now call LiveCharts.UseGPU = true this will use the Hardware accelerated view provided by SkiaSharp, there are known limitations, this is not supported on NetFramework due #​3111, and also not on Avalonia or Eto, where they provide the Skia assemblies.

New FPS log

We can now know the frames per second on a chart by setting LiveCharts.ShowFPS = true; and even try to get more, for example LiveCharts.MaxFps = 90;, the default is 65, not supported on Avalonia, where frames are handled by the framework.

fps

How many FPS can Blazor render?

blazor-tp-fps

About 60, not bad! but that was only the tooltip, now let's move the chart:

blazor-fps

Still decent ❤️

Pointer interaction

There is a lot of feedback about how users try to interact with the chart, this version tries to take all that feedback and provide a solution for all the cases, the FindingStrategy property on a CartesianChart, is more flexible, this property allows the user to configure how the library selects points on the chart, the library provides 8 different strategies, but when that is not enough you also create your own logic now, more info at #​1687.

The events article was also updated to explain more about this common scenario.

Axis scales

... (truncated)

2.0.0-rc4

This release is a detailed review on every open issue in the library, the reliability of the library should be drastically improved.

Now the library is compatible with SkiaSharp 3, also the Maui, Uno and WinUI views use SkiaSharp 3 by default.

There are still some issues that need attention before the first GA version.

Breaking Changes

There are no breaking changes, but this release removes most of the code that was marked as [Obsolete] in previous versions, so before updating to this version, ensure that there is no an Obsolete warning in the compiler log, here is a list of the most common features in the library that were removed in older versions:

  • When using Mappers, instead of using point.PrimaryValue, now use point.Coordinate.PrimaryValue
  • The AsLiveChartsPieSeries() extension changed to AsPieSeries()
  • On Maui, please update the MauiProgram.cs file, change .UseSkiaSharp(true) to .UseSkiaSharp()

All the documentation on the website is updated, all obsoletes should be removed fro docs now, to get a full list please see the changes on #​1625.

Highlights

  • The library is now compatible with SkiaSharp 3
  • Themes were updated in #​1662, now they render legends, tooltips, titles and angular gauges properly.

line dark

  • Toggling series visibility was buggy, especially when using observable collections, this is now fixed with #​1656, and visuals are now disposed properly from the UI.
  • Docs were simplified, now we abuse of collection expressions to reduce boilerplate code, the code style in the samples is now consistent across the site.
  • We can now control the number of labels/separatos using the Axis.LabelsDensity property
    d

New samples

The library now has advanced customization samples like:

  • Using Svg paths as labels:
    icons2

  • Change the rotation of each point based on the data.
    icons3

fixed issues:

  • #​1331
  • #​1473
  • #​1344
  • #​1664
  • #​1337
  • #​1410
  • #​1335
  • #​1333
  • #​1162
  • #​876
    ... (truncated)

2.0.0-rc3.3

  • Multiple issues fixed, thanks everyone for reporting ❤️
  • Updated targets to net 8.
  • NuGet packages are now deterministic

What's Changed

New Contributors

Full Changelog: Live-Charts/LiveCharts2@v2.0.0-rc2...v2.0.0-rc3

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 9, 2025
---
updated-dependencies:
- dependency-name: LiveChartsCore.SkiaSharpView.Avalonia
  dependency-version: 2.0.0-rc5.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/src/LiveChartsCore.SkiaSharpView.Avalonia-2.0.0-rc5.4 branch from 2261c56 to bb06689 Compare September 10, 2025 15:42
@chemodun
chemodun merged commit f35885d into main Sep 10, 2025
@chemodun
chemodun deleted the dependabot/nuget/src/LiveChartsCore.SkiaSharpView.Avalonia-2.0.0-rc5.4 branch September 10, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant