First column in ColumnSeries gets cut off vertically

Hello.

I have a chart consisting of a DateTime X axis and a numeric Y axis. I am using the ColumnSeries to display data for days in a month. In order to force the display of the first X axis label I am using the visibleMinimum property on the DateTimeAxis. The issue is when i use that property the first column in the chart gets cut off. 

Attachment_1 shows the graph without the visibleMinimum property set.

Attachment_2 show the graph with the visibleMinimum set. As you can see, the first column gets vertically cut off.


Please help.


Rgrds,

Martin



Attachment: attachment_884b4f33.zip

3 Replies

YG Yuvaraj Gajaraj Syncfusion Team June 3, 2022 06:23 PM UTC

Hi Martin,


Greetings from Syncfusion. In DateTimeAxis when setting the visible range, it always starts from the tick and the column series gets rendered tick line as a center. So, we recommend you use the DateTimeCategoryAxis because here series and axis labels are rendered between the tick. It will help you to achieve your requirements.


UG: https://help.syncfusion.com/flutter/cartesian-charts/axis-types#date-time-category-axis


Regards,

Yuvaraj.



MP Martin Pyk Pyk Pettersen June 3, 2022 06:43 PM UTC

Awesome! Thanks for the feedback :)



YG Yuvaraj Gajaraj Syncfusion Team June 6, 2022 04:33 PM UTC

Hi Martin,


Thanks for the update. If you have any other queries, please get back to us, we are always happy to assist you.


Regards,

Yuvaraj.


Loader.
Up arrow icon