We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ZoomEnd not fired in iOS

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();
            }
        }

4 Replies

HM Hemalatha Marikumar Syncfusion Team October 8, 2019 02:16 PM UTC

Hi Tomas, 
 
Greetings from Syncfusion. 
  
We have confirmed “[iOS] ZoomEnd event is not called properly” as a bug and logged a defect report. The fix for this issue will be available in our upcoming weekly nuget which is scheduled to be rolled out on 15th October 2019. 
  
    
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal link above. We appreciate your patience until then.  

Regards,
Hemalatha M. 



TT Tomas Turek October 17, 2019 02:21 PM UTC

Still not working correctly in version V17.3.0.17 (iOS only). Everything is fine on Android.


HM Hemalatha Marikumar Syncfusion Team October 18, 2019 07:29 AM UTC

  
Hi Tomas, 
 
We regret for your inconvenience. 
 
Due to some technical hurdle, we were unable to move this fix into our latest weekly nuget release (17.3.0.17).   
 
Surely will resolve the error and move this fix into our upcoming weekly nuget release which is scheduled to be rolled out on October 22,2019. 
 
Regards, 
Hemalatha M. 
 



HM Hemalatha Marikumar Syncfusion Team October 28, 2019 10:35 AM UTC

Hi Tomas,

We would like to let you know that the reported issue fix is included in our weekly NuGet release
 
 
Assembly Version: 17.3.0.19.

Please let us know if you have any other query.

Regards,
Hemalatha M.
 


Loader.
Live Chat Icon For mobile
Up arrow icon