Customize the colors of hatchStyle ?
Posted: Tue Aug 19, 2008 1:19 pm
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.
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.