LALavanya Anaimuthu Syncfusion Team March 6, 2023 01:56 PM UTC
Hi Matthias Koch,
We have reviewed your screenshot and suspect that two
series were added side by side, causing the axis labels to align with the
center of the two series instead of being in a single column series. We kindly request you to share us with more information on your
requirement in detail along with chart code snippets and replication procedure
so that it will help us assist you in a better way.
MKMatthias KochMarch 7, 2023 09:51 AM UTC
in the screenshot, you see a stacked graph.
the one marked with the trackball has the x-axis value: of 2022, and the one right to that (so total right) has the x value of 2023. The label for 2022 is between 2022 and 2023, whereas the 2023 label is not shown.
Also, in the graph, you can see the label for 2020 which is on the right of the graph 2020. where the 2021 label isn't shown,
and there is no graph as the y value is zero.
I would expect that the label on a DateTime X-Axis is also shown in the middle of StackedGraph.
does this help?
YGYuvaraj Gajaraj Syncfusion Team March 8, 2023 01:53 PM UTC
To achieve your requirement, we suggest theDateTimeCategoryAxiswhich is help you to place the axis label between the ticks and avoid place after the series. We have shared the code snippet and related document below for your reference.