How do I change the colour of an area graph?
Posted: Thu Sep 15, 2011 9:41 am
Again Sorry I this is a basic but its not obvious how to do this.
Im now creating an area chart (see code snippet below).
Ive tried setting the colour to red but it reamins at blue which I assume is the default.
Does anyone know how I change the colour to red?
The TeeChart version we have is 3.5.3371.26406
Thanks.
=======================================
Area areaGraph = new Area();
areaGraph.AreaBrush.Color = Color.Red;
areaGraph.Add(x, theValues);
histogramChart.Series.Add(areaGraph);
Im now creating an area chart (see code snippet below).
Ive tried setting the colour to red but it reamins at blue which I assume is the default.
Does anyone know how I change the colour to red?
The TeeChart version we have is 3.5.3371.26406
Thanks.
=======================================
Area areaGraph = new Area();
areaGraph.AreaBrush.Color = Color.Red;
areaGraph.Add(x, theValues);
histogramChart.Series.Add(areaGraph);