Page 1 of 1

Axis

Posted: Fri Oct 14, 2011 1:18 pm
by 8123522
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

Re: Axis

Posted: Fri Oct 14, 2011 2:51 pm
by 10050769
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,

Re: Axis

Posted: Mon Oct 17, 2011 12:13 pm
by 8123522
Thanks, this only does the vertical lines, I also need to loose the horizontal, have tried several option, none of which have worked

Re: Axis

Posted: Mon Oct 17, 2011 2:20 pm
by 10050769
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,

Re: Axis

Posted: Tue Oct 18, 2011 8:15 am
by 8123522
Thanks, this is what I wanted