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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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.

Actual code sets this property sometime later and this still throws the same exception.