开发者

Microsoft Chart Control

开发者 https://www.devze.com 2022-12-22 10:51 出处:网络
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

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.


Take look at AxisX and AxisY Interval property:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号