I'm trying to show three labels (today, 1week, 2weeks) under a chart as category axis and the labels should fit in the graph.
The result is, that first label behaves like shift, mid label is ok and last label is cut, it seems this is shown like "center" only on iOS.
We set the label text thru "LabelCreated" event to the three texts.
Our definition for the primary axis looks like this.
<syncfusion_chart:SfChart.PrimaryAxis>
<syncfusion_chart:CategoryAxis
EdgeLabelsDrawingMode="Shift"
Interval="1"
IsVisible="True"
LabelCreated="Timeline_XAxis_LabelCreated"
LabelsIntersectAction="None"
ShowMajorGridLines="False">
<syncfusion_chart:CategoryAxis.MajorTickStyle>
<syncfusion_chart:ChartAxisTickStyle StrokeWidth="0" />
</syncfusion_chart:CategoryAxis.MajorTickStyle>
<syncfusion_chart:CategoryAxis.LabelStyle>
<syncfusion_chart:ChartAxisLabelStyle FontFamily="{StaticResource LightFont}" />
</syncfusion_chart:CategoryAxis.LabelStyle>
</syncfusion_chart:CategoryAxis>
</syncfusion_chart:SfChart.PrimaryAxis>
The label text is "in two weeks" (maybe it is too long).