Color of the bottomaxis (ticks)
Posted: Tue Mar 21, 2006 12:20 pm
Hello,
I am traying to set the color of the ticks on the bottom axis. The color is now gray and we want this to be colored black (same as color of the labels). The grid must be gray.
If we do this like so :
We get a black dot on the tick (with length=1 and the line will be gray), and a line (length =7) on top of the gray tick.
How can we color the ticks complete black.
Must we use Axispen / DrawingPen ?
With regards,
Roland Hillebrand
I am traying to set the color of the ticks on the bottom axis. The color is now gray and we want this to be colored black (same as color of the labels). The grid must be gray.
If we do this like so :
Code: Select all
chart.Chart.Axes.Bottom.Ticks.Length = 7;
chart.Chart.Axes.Bottom.Ticks.Color = Color.Black;
chart.Chart.Axes.Bottom.MinorTickCount = 1;
How can we color the ticks complete black.
Must we use Axispen / DrawingPen ?
With regards,
Roland Hillebrand