Page 1 of 1

TeeChart Circular Gauge Problems

Posted: Tue Feb 19, 2019 9:31 pm
by 16583852
Hi,

The attached file shows two images. The top image shows the circular gauge in the in IDE using the editor. The Hand has a black border (which is what I want) and the default data value is 21.

The second image shows the gauge when the app runs. The black boarder around the hand has disappeared and although the hand value is correct at 95%, the value in the center is still 21.

I recently updated to version 2018.26 from version 2017.23. In the older version the center value matched the Hand value, but the black boarder does not appear around the Hand in either version.

Is the center value now set differently in later versions rather than the Hand value?

How do I get the Boarder to draw around the hand?

Gauge Problem.png
Gauge Problem.png (60.47 KiB) Viewed 9613 times
Thanks!

Dave

Re: TeeChart Circular Gauge Problems

Posted: Thu Feb 21, 2019 2:34 pm
by yeray
Hello Dave,

Try clearing the Marks and forcing the border visibility at OnCreate event. Ie:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.Value:=95;
  Series1.Marks.Items.Clear;
  Series1.Hand.Pen.Visible:=True;
end;

Re: TeeChart Circular Gauge Problems

Posted: Thu Feb 21, 2019 3:59 pm
by 16583852
Yeray,

Thanks. The:

Series1.Marks.Items.Clear;
Series1.Hand.Pen.Visible:=True;

Fixes the problem.

The formatting using the TeeChart editing does not work. Will that be corrected in the next release?

Thanks again,

Dave

Re: TeeChart Circular Gauge Problems

Posted: Mon Feb 25, 2019 10:21 am
by yeray
Hello Dave,

I've added two tickets in the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=2162
http://bugs.teechart.net/show_bug.cgi?id=2163

Feel free to add your mail to the CC list to be automatically notified when an update arrives.