Hi Wanft & Louis,
We have checked the reported query and the chart axis label was hidden when the axis labels are intersected with each other, but the tick and gridlines are rendered by default. This is the current behavior of SfChart.
Hence, we would like to suggest that to resolve this by setting of EdgeLabelVisibilityMode property to Default and you can show the axis label based on the interval and it does not show edge labels in the scenario. Please find the code example below.
CodeSnippet:
|
<chart:SfChart.PrimaryAxis>
<chart:DateTimeAxis EdgeLabelsDrawingMode="Shift"
EdgeLabelsVisibilityMode="Default">
<chart:DateTimeAxis.LabelStyle>
<chart:ChartAxisLabelStyle LabelFormat="MMM-dd"/>
</chart:DateTimeAxis.LabelStyle>
</chart:DateTimeAxis>
</chart:SfChart.PrimaryAxis> |
Output:
Please let us know, if you have any further assistance.
Regards,
Yuvaraj.