Turn off grid lines for Right Axes

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
vk_nomura
Newbie
Newbie
Posts: 12
Joined: Mon May 17, 2010 12:00 am

Turn off grid lines for Right Axes

Post by vk_nomura » Mon Jun 21, 2010 3:12 pm

I am using the WPF version of the TeaChart.

My intent is turn off the grid lines for Right axes. My code for the fastline series apppears like this and is not working:

this._flPerfStyle.VertAxis = VerticalAxis.Right;
this.perfChart.Axes.Right.StartPosition = 0;
this.perfChart.Axes.Right.EndPosition = 80;
this.perfChart.Axes.Right.Grid.Visible = false;

Please advise.

Regards,
Vish

vk_nomura
Newbie
Newbie
Posts: 12
Joined: Mon May 17, 2010 12:00 am

Re: Turn off grid lines for Right Axes

Post by vk_nomura » Mon Jun 21, 2010 4:37 pm

Issue is resolved.

It worked fine, when I placed the earlier code in the Loaded event of the control instead of in the constructor of the UserControl.

Post Reply