Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2163

Summary: Pen Visible not serialized for the Hand in CircularGauge series
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: ---    
Version: 26.181203   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: https://www.steema.com/support/viewtopic.php?p=76096#p76096
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2019-02-25 05:20:49 EST
When you show the Pen in a CircularGauge's Hand, the Format.Pen.Visible property isn't serialized.

To reproduce the problem:

- Add a CircularGauge Series to a new Chart.
- See the form in "Text View" (Alt+F12). You'll see the Format.Pen.Visible is serialized as False.
- Go back to the "Form View".
- Open the Editor and check the "Visible" checkbox at "Format/Options/Hands/Border/Format" tab in the CircularGauge.
- See the form in "Text View" (Alt+F12). You'll see the Format.Pen.Visible is not serialized.
- Go back to the "Form View".

Now you'll see how the pen has been hidden.

The workaround is to force the Pen visibility by code:

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.Hand.Pen.Visible:=True;
end;
Comment 1 david berneda 2023-03-16 08:45:02 EDT
Fixed. Pen.DefaultVisible was not set to False.