-
Notifications
You must be signed in to change notification settings - Fork 846
[syncfusion_chart] Daylight Saving Time not working as intended with daily interval #2188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @DrNiels , We have checked the mentioned issue and attempted to replicate the report in SfCartesianChart version 27.2.24 using the web platform you specified. However, we were unable to reproduce it on our end. Please check the attached sample, and if you are still experiencing the issue, we request that you replicate it in the attached sample and provide us with more details regarding the specific scenario in which you are encountering this issue. This will help us to assist you more effectively. Screenshot: Regards, |
Hi @DrNiels, We would like to let you know that currently we don’t have support for time zone in SfCartesianChart. However, we have considered your requirement as a new feature and logged feature request for it in our feedback portal. We will prioritize the features of every release based on demand and priority. So, this feature will be available in any of our upcoming releases. You can also track the status of the feature with the feedback below. Feedback: https://www.syncfusion.com/feedback/62812 Regards, |
It's actually not really the time zone that is not supported but Daylight Saving Time. I use default DateTime with my local timezone, which just shifts due to DST in the summer. |
Hi DrNiels, We have reviewed your query and would like to inform you that the issue you're experiencing is related to Daylight Saving Time (DST) changes. During DST transitions (e.g., on March 31st and October 27th in Germany), clocks shift forward or backward by an hour. Without proper time zone handling, the chart does not account for these changes, which can lead to misaligned data points or incorrect time labels near DST transition dates. Please refer to the following link for your reference. Germany DST changes: https://www.timeanddate.com/time/change/germany Enabling time zone support will automatically adjust the chart for DST changes, preventing skipped or overlapping times and ensuring accurate data representation on the date-time axis. Currently, time zone support is not available in the SfCartesianChart. However, we have already logged this requirement as a new feature request in our feedback portal. We prioritize feature requests based on demand and priority, and this feature will be included in one of our upcoming releases. You can track the status of the feature through the following link: Feedback: https://www.syncfusion.com/feedback/62812 Additionally, in Windows Time Zone settings, there is an option called "Adjust for daylight saving time automatically," which is enabled by default. Disabling this setting can resolve DST-related issues in charts. Please refer to the following link and screenshot for your reference. Set daylight saving time: https://support.microsoft.com/en-us/windows/set-time-date-and-time-zone-settings-in-windows-dfaa7122-479f-5b98-2a7b-fa0b6e01b261#bkmk_set_date_time_win11 Screenshot: Regards, |
Please reopen this ticket, if you need further assistance with this. |
Bug description
When using a daily DateTime x axis that bridges a change towards Daylight Saving Time, the axis is not displayed correctly. On the one hand, the day with the change towards DST should be a bit shorter. On the other hand, the maximum of the axis is not shown, propably pushed out by an hour.
Similarly, a change away from DST does not show the day as longer and has an offset after the maximum of the axis.
It seems to me like the ticks are not positioned correctly and are just placed every 24 hours, which is not correct for these days.
I use syncfusion_flutter_charts in version 27.2.4
Steps to reproduce
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Stack Traces
Stack Traces
Not applicableOn which target platforms have you observed this bug?
Web
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: