syncfusion / flutter-examples

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
Other
1.96k stars 776 forks source link

Bug when plotting line chart having String in x-axis #824

Closed Sumit258000 closed 7 months ago

Sumit258000 commented 12 months ago

Thanks for the plugin. Currently, We are developing a graph in which we have a score on the y-axis and date time as a string on the x-axis we have 4 series of data for this. we are formatting the date as "yyyy/MM/dd HH:mm:ss". The output we are getting is individual line charts are coming as independent of their x-axis(Date as string) but the expected result is that it should align with the x-axis kindly see the first image for reference. I am using this JSON for plotting graph. In the second trial when I formatted the date time as "yyyy/MM/dd" I was getting a little close to the expected result but in that case I am not able to show the exact time also graph looks dirty kindly refer to the second image. I tried plotting graphs using dateTime instead of String but that creates line_1

line_2 a long difference between months see image for reference.

I am expecting this output's final result

LavanyaGowtham2021 commented 7 months ago

Addressed this requirement in this ticket https://support.syncfusion.com/agent/tickets/508303, hence closing this now.