Page 1 of 1

How to change TCircularGauge colour

Posted: Thu Oct 18, 2007 3:01 pm
by 10546814
Hi all,

Try as I might, I can't seem to change the main face colour of the TCircularGauge. I can't do it with the editor, or by researching the various properties etc.

Please help, Thanks.

Ian Sharp.

Posted: Thu Oct 18, 2007 3:20 pm
by narcis
Hi Ian,

This is most likely because you need to disable the gradient.

At design-time you can go to Series -> Format -> Back -> Gradient tab and disable Visible property. Then go to Series -> Format -> Back -> Format tab an set Color property.

At run-time you can do this:

Code: Select all

  Series1.Face.Gradient.Visible:=false;
  Series1.Face.Color:=clRed;

Posted: Thu Oct 18, 2007 4:57 pm
by 10546814
Thanks Narcis,

I knew it had to be easy!

Ian.