MSChart Center Lines

How to show the axis of the line for each column in the chart? I have a line only on the second, fourth ...,

alt text http://img35.imageshack.us/img35/6106/chartiu.png

+3
source share
1 answer

I found the answer:

        chartArea.AxisX.MajorGrid.Interval = 1;
        chartArea.AxisX.MajorTickMark.Interval = 1;
        chartArea.AxisX.LabelStyle.Interval = 1;

Now it looks like this:

alt text http://img683.imageshack.us/img683/5818/chartig.png

+3
source

Source: https://habr.com/ru/post/1745970/


All Articles