2.0.0-beta.900
Pre-releaseMacOS 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).
But as soon as you set the Series.Name
property it will be shown in the tooltip:
When an axis has Labels, the label will be used as the header of the tooltip:
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:
Right to left writing
- Now you can configure LiveCharts to render tooltips and labels from right to left.
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
},
};
Scrollable charts
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)
- Upgrade to Avalonia 11.0.0-preview5 by @jp2masa in #924
- Upgrade to Avalonia 11.0.0-preview7 by @jp2masa in #978
- Upgrade to Avalonia 11.0.0-preview8 by @jp2masa in #1011
- Upgrade to Avalonia 11.0.0-rc1.1 by @jp2masa in #1037
- Update 1.5.mappers.md by @beto-rodriguez in #1058
- Bump Microsoft.Windows.Compatibility from 7.0.0 to 7.0.3 in /samples/UnoPlatformSample/UnoPlatformSample.Wasm by @dependabot in #1065
- beta-801 by @beto-rodriguez in #1070
- beta.802 by @beto-rodriguez in #1088
- Docs typo by @beto-rodriguez in #1092
- Scrollable charts by @beto-rodriguez in #1102
- Avalonia preview by @beto-rodriguez in #814
- 2.0.0-beta.810 by @beto-rodriguez in #1103
- patch build errors in UnoPlatformSample by @dmedine in #1107
- Update 1.2.install.md by @beto-rodriguez in #1110
- Improve events and commands by @beto-rodriguez in #1111
- Improve events and commands by @beto-rodriguez in #1114
- 2.0.0-beta.850 by @beto-rodriguez in #1116
- Missing things for release build by @beto-rodriguez in #1117
- 2.0.0-beta.850.1 by @beto-rodriguez in #1119
- beta.855 by @beto-rodriguez in #1125
- Fix labels by @beto-rodriguez in #1130
- 2.0.0-beta.860 by @beto-rodriguez in #1131
- Svg based gemetries by @beto-rodriguez in #1134
- Improves rtl rendering by @beto-rodriguez in #1137
- Adds more tests to pie labels by @beto-rodriguez in #1141
- 2.0.0-beta.900 by @beto-rodriguez in #1143
New Contributors
Full Changelog: v2.0.0-beta.800...2.0.0-beta.900