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 - Pen Visible not serialized for the Hand in CircularGauge series
Summary: Pen Visible not serialized for the Hand in CircularGauge series
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 26.181203
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: https://www.steema.com/support/viewto...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-25 05:20 EST by yeray alonso
Modified: 2023-03-16 08:45 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.