Since we upgraded to .net ver 3 there is a problem in display of the background color of a webchart line graph.
The color we set for the graph applies only to the outer part of the chart display,
and all the inner part where the series are drawn, stays gray, no matter what we do.
Here is the code
Code: Select all
Color startColor = Color.FromArgb(254, 234, 234, 255);
tChart.Panel.Gradient.Visible = true;
tChart.Panel.Gradient.StartColor = Color.White;
tChart.Panel.Gradient.EndColor = StartColor;
tChart.Panel.Color = StartColor;
tChart.Panel.Brush.Color = StartColor;