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?
Multiple chart panel background colors?
Hi Patrick,
yes, you can set a Gradient color for the Panel.
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;
Pep Jorge
http://support.steema.com
http://support.steema.com
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.Pep wrote:Hi Patrick,
yes, you can set a Gradient color for the Panel.
Hi Patrick,
maybe you can use the GridBand tool ? or ColorBand Tool ?
maybe you can use the GridBand tool ? or ColorBand Tool ?
Pep Jorge
http://support.steema.com
http://support.steema.com