Hi
I use a SeriesRegionTool like this :
SeriesRegionTool tool = new SeriesRegionTool(senderChart.Chart);
tool.Active = true;
tool.AutoBound = false;
tool.Color = Color.Black;
tool.DrawBehindSeries = true;
tool.Series = mRawDataSerie;
tool.Origin = senderChart.Axes.Left.Minimum;
tool.LowerBound = startTime + mHorizontalOffset;
tool.UpperBound = stopTime + mHorizontalOffset;
tool.Brush.Style = HatchStyle.DarkUpwardDiagonal;
mAverageSpectraBandsCollection.Add(tool);
I get something hatched with black and grey.
How can I replace the grey with white?
Thanks
Verane.
Customize the colors of hatchStyle ?
Hello Verane,
how about adding the following line ?
tool.Brush.ForegroundColor = Color.White;
how about adding the following line ?
tool.Brush.ForegroundColor = Color.White;
Pep Jorge
http://support.steema.com
http://support.steema.com