Code snippet: |
<chart:CategoryAxis LabelCreated="CategoryAxis_LabelCreated">
</chart:CategoryAxis> |
private void CategoryAxis_LabelCreated(object sender, ChartAxisLabelEventArgs e)
{
if (e.Position == 0 || e.Position == 8)
{
e.LabelStyle = new ChartAxisLabelStyle();
e.LabelStyle.FontSize = 0.01f;
}
} |