Grid lines
Posted: Thu May 03, 2007 7:14 pm
I am wanting to turn off the default dotted lines that extend horizontally and vertically across a chart displaying a Line series.
I found if I open the Editor and go to Axes Tab, Select "Left Axis" from the list on the left, then click on the Ticks Tab, click on the Grid button and it opens up a Border Editor dialog. If I uncheck the Visible checkbox the line going horizontal turn off. That is what I am trying to accomplish in code.
I thought the following would accomplish this
tchart.Axis.Left.Ticks.Visible = false;
This does not seem to work.
Can someone point me to the correct way to accomplish what I can do in the Editor that comes with the TeeChart control for .NET?
I found if I open the Editor and go to Axes Tab, Select "Left Axis" from the list on the left, then click on the Ticks Tab, click on the Grid button and it opens up a Border Editor dialog. If I uncheck the Visible checkbox the line going horizontal turn off. That is what I am trying to accomplish in code.
I thought the following would accomplish this
tchart.Axis.Left.Ticks.Visible = false;
This does not seem to work.
Can someone point me to the correct way to accomplish what I can do in the Editor that comes with the TeeChart control for .NET?