Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Only occurs on UWP target, found when updated to latest version (from 16.4.0.52 which works fine).
Setting PrimaryAxis.TrackballLabelStyle.AxisLabelAlignment throws a NullReferenceException.
To test I created a plain Xamarin Forms app in VS 2017. Added a single SfChart control to the main window.
<syncFusion:SfChart x:Name="Chart" HeightRequest="200" WidthRequest="400" />
In the code-behind constructor:
Chart.PrimaryAxis = new DateTimeAxis(); Chart.PrimaryAxis.TrackballLabelStyle.AxisLabelAlignment = ChartLabelAlignment.Near;
Will throw exception when constructor returns, I assume when the control is rendered. Callstack attached.