AutoScrollingDelta on a RangeColumnSeries - UI Rendering Issue

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?


FirstView-Good.png 
SecondView-Good.png

ThirdView-Good.png


BackToFirstView-Bad.png

Thanks,

Marc


6 Replies

ME Manivannan Elangovan Syncfusion Team January 5, 2022 12:43 PM UTC

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



MM Marc Majors January 5, 2022 02:09 PM UTC

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>



Attachment: SyncfusionScrolling.MP4_57c35b1.zip


MM Marc Majors January 5, 2022 06:24 PM UTC

FYI - It seems to be working on Android, not on iOS.



ME Manivannan Elangovan Syncfusion Team January 6, 2022 01:21 PM UTC

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



DD Devakumar Dhanapoosanam Syncfusion Team January 7, 2022 12:22 PM UTC

Hi Marc Majors, 
 
We have confirmed that the reported issue as a bug and logged a defect report “Axis range does not update properly when dynamically change the series ItemsSource with AutoScrollingDelta”. The fix for the reported issue will be included in our upcoming weekly NuGet release which is expected to be roll out on January 25, 2022. We appreciate your patience until then. We will let you know once it gets rolled out. 
 
 
Note: The feedback link provided is private, and you need to login to view this feedback. 
 
If you have any more specifications/precise replication procedures or a scenario to be tested, you can add it as a comment in the portal.     
 
Regards, 
Devakumar D 



ME Manivannan Elangovan Syncfusion Team January 25, 2022 11:21 AM UTC

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


Loader.
Up arrow icon