I have a question about the different colors used for a HighLow Series.
I want to color the area where High > Low value green and the area where High < Low value red.
With the following code I get more or less the result:
Code: Select all
Steema.TeeChart.Styles.HighLow hl = new Steema.TeeChart.Styles.HighLow();
m_tchart.Series.Add(hl);
hl.Add(1, 10, 5);
hl.Add(2, 10, 8);
hl.Add(3, 10, 9);
hl.Add(4, 10, 12);
hl.Add(5, 10, 14);
hl.HighBrush.Color = System.Drawing.Color.Aquamarine;
hl.HighBrush.Visible = true;
hl.LowBrush.Color = System.Drawing.Color.LightCoral;
hl.LowBrush.Visible = true;
So, somewhere in the middle between 3 and 4 where the two lines actually cross. See screenshot.
Thanks for your help!
Marijke.