Hello,
Version: Syncfusion.Xamarin.SFChart - 19.4.0.40
I have a page of temperature data that a user can filter on Today, 7 Days, and 30 Days. I am using a RangeColumnSeries to show the Min/Max temperature. For today, I am showing 4 values (12a, 6a, 12p, 6p) and the 7 and 30 days, I am showing historical data.
I am binding the AutoScrollingDelta on the PrimaryAxis. For Today, the value is 4, and for 7 and 30 days, I set it to 7. If I do not scroll, the data looks good when changing the various filters. When I am viewing 30 days and scroll forward, and then switch back to the Today filter, the UI is not rendered correctly.
Every time the user changes the Filter, I re-initialize my DataSource:
ChartData = new ObservableCollection<ChartDataPoint>(dataPoints);
Please review the below screenshots. The first 3 demonstrate clicking on each filter. The chart is rendered correctly. On the 3rd chart, I scroll forward, and the last screenshot represents the user clicking back on the Today filter and the UI is not rendered correctly. I notice if I scroll, I can then see the chart displayed.
Seems like I need to refresh something?
![]()
![]()
Thanks,
Marc
Hi Marc Majors,
We have analyzed your query and would like to inform you that we have already faced a similar issue with AutoScrollingDelta, and the fix has been included in our most recent weekly NuGet release, version 19.4.0.41.
Could you please update and check the issue with latest SfChart nuget version 19.4.0.41 and let us know whether it resolves at your end. If you are still facing the issue, please provide us with more details such as chart code snippet, which will be helpful us to proceed further to provide better solution at earlier.
Regards,
Manivannan E
Hi Manivannan,
Thank you for your reply. I am a new user of Syncfusion and so far I am loving the controls that are provided for Xamarin Forms.
Unfortunately, I am still able to reproduce the issue.
Here is a snippet of code. I have attached a video that shows the issue.
<chart:SfChart.PrimaryAxis>
<chart:CategoryAxis ShowMajorGridLines="True" LabelPlacement="BetweenTicks" AutoScrollingDelta="{Binding ScrollingDelta}" AutoScrollingMode="End">
<chart:CategoryAxis.MajorTickStyle>
<chart:ChartAxisTickStyle TickSize="1">
</chart:ChartAxisTickStyle>
</chart:CategoryAxis.MajorTickStyle>
</chart:CategoryAxis>
</chart:SfChart.PrimaryAxis>
FYI - It seems to be working on Android, not on iOS.
Hi Marc Majors,
We were able to reproduce the reported issue based on the provided details. Currently, we are validating this at our end and will update you the complete details on tomorrow January 7th, 2022.
Regards,
Manivannan E
Hi Marc Majors,
We are glad to announce that our weekly NuGet was rolled out and fix for the reported issue was included in the weekly NuGet.
NuGet Version: 19.4.0.47
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Thanks,
Manivannan E