Page 1 of 1

Taguge

Posted: Wed Mar 28, 2012 9:11 am
by 16459037
Hi,

How do I change the increment size in this TGauge?
TGauge2.JPG
TGauge2.JPG (241.73 KiB) Viewed 4437 times
I have tried but it doesn't work:

Code: Select all

Chart1.Axes.Left.Increment := 50;
How do I change the size of the green and red colors in the interior of the Gauge?? I have marked the red area which I would like to change the apperance of...
TGauge.JPG
TGauge.JPG (232.7 KiB) Viewed 4414 times

Re: Taguge

Posted: Wed Mar 28, 2012 9:15 am
by 16459037
How do I change the color of the white dot indicating the value of the Gauge ??

Re: Taguge

Posted: Wed Mar 28, 2012 9:17 am
by 16459037
How do I change the color of the red and gree areas?

Re: Taguge

Posted: Wed Mar 28, 2012 2:23 pm
by yeray
Hi Friis,

The following seems to work fine for me here:

Code: Select all

uses TeeCircularGauge;

procedure TForm1.FormCreate(Sender: TObject);
begin
  with Chart1.AddSeries(TCircularGauge) as TCircularGauge do
  begin
    Axis.Increment:=5;
    EndPoint.Color:=clRed;

    GreenLine.Gradient.Visible:=false;
    GreenLine.Color:=clYellow;

    RedLine.Gradient.StartColor:=clYellow;
    RedLine.Gradient.EndColor:=clMaroon;
  end;
end;