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

Problem setting the visibleMinimum and visibleMaximum in DateTimeAxis


I trying to use the candle series with SfCaresianChart in my application. I am using DateTimeAxis as primaryXAxis.

It works fine until I try to set the visibleMinimum and visibleMaximum, Once I did I am getting exception thrown saying "Null check operator used on a null value" as shown below

I couldn't figure out the



I am having some 1500 candles in my display

I am using  syncfusion_flutter_charts 21.1.39

1 Reply

YG Yuvaraj Gajaraj Syncfusion Team April 12, 2023 08:08 AM UTC

Hi Sakthivel,

We have checked your query and tried to reproduce the reported issue at our end by setting visible minimum and visible maximum range but the reported issue is not getting reproduced at our end. So, we kindly request you to share the following information,

  • Does the chart render with live data then are you using updateDataSource or setState to update data?
  • How did you set the visibleMinimum and visibleMaximum properties in DateTimeAxis?

Also please try to reproduce the issue in the shared sample below it will help us to assist you in a better way.



Attachment: f181733_894f19c0.zip

Live Chat Icon For mobile
Up arrow icon