In CustomStackSeriesChart, the below behavior is causing app crash when dynamically loading the chart as ItemTemplate only in UWP platform. Commenting out the code does not cause the issue. Attached StackTrace for your reference.
<chart:SfChart.ChartBehaviors>
<chart:ChartTooltipBehavior BackgroundColor="#404041" />
<CustomControls:CustomTrackballBehavior x:Name="chartTrackball" ShowLabel="True" ShowLine="True" LabelDisplayMode="GroupAllPoints" ActivationMode="None">
<chart:ChartTrackballBehavior.MarkerStyle>
<chart:ChartTrackballMarkerStyle BorderColor="{StaticResource LightGrayColor}" ShowMarker="True" BorderWidth="0.5" Width="8" Height="8" />
</chart:ChartTrackballBehavior.MarkerStyle>
<chart:ChartTrackballBehavior.LabelStyle>
<chart:ChartTrackballLabelStyle BorderThickness="0" BackgroundColor="#bfe2f7" LabelFormat="{x:OnPlatform Default='$#,##0'}" Margin="{x:OnPlatform Default= '3.5', UWP= '2'}"/>
</chart:ChartTrackballBehavior.LabelStyle>
<chart:ChartTrackballBehavior.LineStyle>
<chart:ChartLineStyle StrokeColor="{StaticResource LightGrayColor}" StrokeWidth="1"/>
</chart:ChartTrackballBehavior.LineStyle>
</CustomControls:CustomTrackballBehavior>
</chart:SfChart.ChartBehaviors>
Attachment:
StackTrace_6c836a99.zip