Hi David,
Thanks for using Syncfusion products.
You can achieve this requirement by using LabelFormat property of ChartAxisLabelStyle. Please find the below code snippet below.
Code Example:
[XAML]:
<chart:SfChart.PrimaryAxis>
<chart:DateTimeAxis>
<chart:DateTimeAxis.LabelStyle>
<chart:ChartAxisLabelStyle LabelFormat ="dd/MMM"/>
</chart:DateTimeAxis.LabelStyle>
</chart:DateTimeAxis>
</chart:SfChart.PrimaryAxis>
|
[C#]:
DateTimeAxis dateTimeAxis = new DateTimeAxis();
dateTimeAxis.LabelStyle.LabelFormat = "dd/MMM";
chart.PrimaryAxis = dateTimeAxis;
|
We have prepared sample as per your requirement which can be downloaded from the following location.
Please check the attached sample and let us know if you need further assistance on this.
Regards,
Saravana Pandian M.