GridPreblem

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Solutions Gallery BV
Newbie
Newbie
Posts: 25
Joined: Thu Dec 27, 2007 12:00 am

GridPreblem

Post by Solutions Gallery BV » Wed Aug 11, 2010 12:35 pm

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
Attachments
Grid.JPG
Grid.JPG (102.66 KiB) Viewed 4645 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: GridPreblem

Post by Sandra » Thu Aug 12, 2010 10:01 am

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Solutions Gallery BV
Newbie
Newbie
Posts: 25
Joined: Thu Dec 27, 2007 12:00 am

Re: GridPreblem

Post by Solutions Gallery BV » Thu Aug 12, 2010 12:45 pm

Thanks for your responding.I think the code which you wrote is ok.It is as i wanted.

Post Reply