Axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Axis

Post by MikeTheLad » Fri Oct 14, 2011 1:18 pm

I want to remove the grid lines, which if I make the Axis.Vsible = false does this, but I still require the scale on the left hand side which is lost when I turn make visible = false
Attachments
RAL_488_AgeGraph.jpg
RAL_488_AgeGraph.jpg (95.53 KiB) Viewed 8875 times

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

Re: Axis

Post by Sandra » Fri Oct 14, 2011 2:51 pm

Hello MikeTheLad,

If you want remove lines, I recommend that use property of Axis Grid.Visible = false as do in next line of code:

Code: Select all

tChart1.Axes.Bottom.Grid.Visible = false;
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

MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Re: Axis

Post by MikeTheLad » Mon Oct 17, 2011 12:13 pm

Thanks, this only does the vertical lines, I also need to loose the horizontal, have tried several option, none of which have worked
Attachments
RAL_488_AgeGraph.jpg
RAL_488_AgeGraph.jpg (92.49 KiB) Viewed 8834 times

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

Re: Axis

Post by Sandra » Mon Oct 17, 2011 2:20 pm

Hello MikeTheLad,

You need do the same as you do with vertical lines of Grid. Please see next line of code:

Code: Select all

tChart1.Axes.Left.Grid.Visible = false;
Can you tell us if previous lines of Code works as you expected?

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

MikeTheLad
Newbie
Newbie
Posts: 65
Joined: Mon Jan 19, 2004 5:00 am

Re: Axis

Post by MikeTheLad » Tue Oct 18, 2011 8:15 am

Thanks, this is what I wanted

Post Reply