ZoomEnd event not fired in iOS platform. Android is ok.
<StackLayout x:Name="StackLayoutChartTrend" MinimumHeightRequest="200" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" >
<chart:SfChart x:Name="ChartTrend" HeightRequest="150" Margin="0" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" ZoomEnd="OnChartTrend_ZoomEnd" Scroll="OnChartTrend_Scroll">
<chart:SfChart.PrimaryAxis>
<chart:DateTimeAxis x:Name="dateTimeAxis" ShowTrackballInfo="True">
</chart:DateTimeAxis>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis>
</chart:NumericalAxis>
</chart:SfChart.SecondaryAxis>
<chart:SfChart.Series>
</chart:SfChart.Series>
<chart:SfChart.ChartBehaviors>
<chart:ChartZoomPanBehavior x:Name="ZoomPan" ZoomMode="X" EnablePanning="True" EnableZooming="True" EnableDoubleTap="False"/>
</chart:SfChart.ChartBehaviors>
</chart:SfChart>
</StackLayout>
----------------------
private void OnChartTrend_ZoomEnd(object sender, ChartZoomEventArgs e)
{
if (e.Axis is DateTimeAxis)
{
//Do something //ChangeTimePickerRange();
}
}
private void OnChartTrend_Scroll(object sender, ChartScrollEventArgs e)
{
if (e.Axis is DateTimeAxis)
{
//Do something //ChangeTimePickerRange();
}
}