<chart:SfChart.PrimaryAxis>
<chart:CategoryAxis LabelCreated="CategoryAxis_LabelCreated" />
</chart:SfChart.PrimaryAxis> |
private void CategoryAxis_LabelCreated(object sender, ChartAxisLabelEventArgs e)
{
e.LabelContent = e.LabelContent.Split(',')[0].Trim();
} |
<chart:CategoryAxis EdgeLabelsDrawingMode="Shift" >
</chart:CategoryAxis>
|