Page 1 of 1
Multiple chart panel background colors?
Posted: Sat Nov 20, 2004 4:28 pm
by 8123754
I would like to color in the background of my chart with multiple background colors. Basically, I want a light green/yellow/red as the panel background, depending on the value of a line series.
Is this possible?
Posted: Mon Nov 22, 2004 8:14 am
by Pep
Hi Patrick,
yes, you can set a Gradient color for the Panel.
Code: Select all
tChart1.Panel.Gradient.StartColor = Color.Blue;
tChart1.Panel.Gradient.MiddleColor = Color.Green;
tChart1.Panel.Gradient.EndColor= Color.Red;
tChart1.Panel.Gradient.Visible = true;
Posted: Mon Nov 22, 2004 11:07 am
by 8123754
Pep wrote:Hi Patrick,
yes, you can set a Gradient color for the Panel.
That won't work. I need something that varies based on the value of a line series. In other words, it could be red/green/yellow/red/yellow/red/green etc. After looking over the documentation, I have come to the conclusion that this is not possible, and I will have to take another approach.
Posted: Mon Nov 22, 2004 11:40 am
by Pep
Hi Patrick,
maybe you can use the GridBand tool ? or ColorBand Tool ?