![]() | Steema Issues DatabaseNote: 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. |
| Summary: | TAnnotationTool disappears when PositionUnits is set to muPercent | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Tools | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | david |
| Priority: | --- | ||
| Version: | 131016 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Setting a custom position for an Annotation tool with position units set to percent it easily makes the tool disappear from the chart. Below ther'es an example of such a tool. It can be easily reproduced at design-time. void __fastcall TForm1::FormShow(TObject *Sender) { chartAnno = new TAnnotationTool(Chart1); chartAnno->ParentChart = Chart1; chartAnno->PositionUnits = muPercent; chartAnno->Shape->Left = 50; chartAnno->Shape->Top = 50; chartAnno->Shape->Transparent = true; chartAnno->Text = "Did this work"; }