Page 1 of 1

GridPreblem

Posted: Wed Aug 11, 2010 12:35 pm
by 13047867
Hello
i want to make in my graph X axis gridline as shown in picture with RedLine.Normally X axis gridline goes by 20 to 20.But i want it as goes 7 to 7 as showen in picture.
Tahnks

Re: GridPreblem

Posted: Thu Aug 12, 2010 10:01 am
by 10050769
Hello Solutions Gallery BV ,


I seem that you can use property of axes Increment and property of labels axes alternate, because grids go 7 to 7 as next lines of code:

Code: Select all

            tChart1.Axes.Bottom.Increment = 7;
            tChart1.Axes.Bottom.Labels.Alternate = true;

Could you please, tell us it solution works as you want?


I hope will helps.

Thanks,

Re: GridPreblem

Posted: Thu Aug 12, 2010 12:45 pm
by 13047867
Thanks for your responding.I think the code which you wrote is ok.It is as i wanted.