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 2162

Summary: Marks in CircularGauge out of sync with the Value
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
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:04:29 EST
When you show the Marks in a CircularGauge, the Marks.Items are serialized and then the Mark is out of sync with the Arrow Value.

To reproduce the problem:

- Add a CircularGauge Series to a new Chart.
- Set Marks Visible.
- Change the Value at "Format/Options/Value" tab.
- See the form in "Text View" (Alt+F12). You'll see the Marks.Items are serialized
- Go back to the "Form View"

Now the Mark isn't in sync with the arrow value (and the legend).

The workaround is to clear the Marks.Items. This can be done at the form in "Text View" or by code:

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.Marks.Items.Clear;
end;