Skip to content

2.0.0-beta.900

Pre-release
Pre-release
Compare
Choose a tag to compare
@beto-rodriguez beto-rodriguez released this 30 Jul 23:52
· 323 commits to master since this release
d7c8ee3

MacOS improvements

  • Multiple improvements in the labels measuring and positioning, labels were not measured and placed properly specially on MacOS.

Multiple improvements to MAUI

  • The MAUI view now considers the DeviceDisplay.MainDisplayInfo.Density to scale the plot, now the look of the charts is consistent on multiple devices/OS, if you built a custom scale, now it is no longer necessary.
  • MAUI zooming and panning was improved, but on desktop devices we still cannot use the mouse wheel to zoom in/out, because MAUI does not provide a way (or an easy one) to detect the mouse wheel moves, if you are interested in this feature, let the MAUI team know it at #16130.
  • Now LiveCharts events work properly on MAUI.

Default tooltips are smarter

Now (by default) when a series has no name set, the tooltip will ignore the series label (in older versions the label Series #1, Series #2 ... Series #n was displayed).

v

But as soon as you set the Series.Name property it will be shown in the tooltip:

v

When an axis has Labels, the label will be used as the header of the tooltip:

v

Transforms animations were improved

There was a bug in the core of LiveCharts that caused that transforms were not animated properly; they are now fixed:

v

Right to left writing

  • Now you can configure LiveCharts to render tooltips and labels from right to left.

rtl

LiveCharts.Configure(config => config
  .HasGlobalSKTypeface(SKTypeface.FromFamilyName("Noto Naskh Arabic"))
  .UseRightToLeftSettings());

It is now easy to create SVG based points:

    var seriesCollection = new ISeries[]
    {
        new LineSeries<double, SVGPathGeometry>
        {
            Values = new double[] { -2, 2, 1, 3, -1, 4, 3 },
            Fill = null,
            GeometrySvg = SVGPoints.Star,
            GeometrySize = 20
        },
        new LineSeries<double, SVGPathGeometry>
        {
            Values = new double[] { 3, 4, -1, 3, 1, 2, -2 },
            Fill = null,
            GeometrySvg = SVGPoints.Heart,
            GeometrySize = 20
        },
        new LineSeries<double, SVGPathGeometry>
        {
            Values = new double[] { -2, 2, 1, 3, -1, 4, 3 },
            Fill = null,
            GeometrySvg = "insert your svg path here",
            GeometrySize = 20
        },
    };

image

Scrollable charts

v

code here

MVVM improved

There are new commands that are useful to follow MVVM, the scrollable chart sample above implements the MVVM pattern, also the add point on click sample was updated to use MVVM.

Fixed issues

-#119
-#410
-#481
-#834
-#906
-#945
-#1063
-#1081
-#1087
-#1096
-#1099
-#1109
-#1112
-#1113
-#1120
-#1123
-#1124
-#1132
-#1135
-#1139
-#1140

Other changes (auto-generated)

New Contributors

Full Changelog: v2.0.0-beta.800...2.0.0-beta.900