This project is read-only.

Change axis tick mark color

Nov 11, 2014 at 9:35 PM
I've been working on styling a line graph for my current project and have been unable to find a way to change the tick color. As you know, it defaults to black, but my application uses a black background and so it disappears.

Is there an easy way that I've missed? Or could some one point me to where it's set in the source?
Mar 5, 2015 at 8:17 AM
Hi

you can try some thing like this. This will work.
   NumericAxis numericAxis = plotter.MainVerticalAxis as NumericAxis;
   numericAxis.AxisControl.TicksPath.Stroke = Brushes.White;
   plotter.MainVerticalAxis = numericAxis;
Regards
Ravi