views:

38

answers:

1

Hi,

Simple question but cannot find answer anywhere.

When using a MS Chart Control of type 'Bar or 'Column'. My X Axis are only labelled every 5 steps. I want it to label every single bar/column on the X Axis.

How do I change this?

Thanks.

+2  A: 

Take look at AxisX and AxisY Interval property:

myChart.ChartAreas[0].AxisX.Interval = 1;

sashaeve
Brilliant. Thank you.
Hunter