![]() | 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: | Custom Axis Labels can't be hidden | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Axis | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=15824&p=70269#p70269 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | test project | ||
Created attachment 523 [details] test project Having custom labels in an axis, setting a TAxisItem Format.Visible:=false doesn't hide the label. In v8 you could do this to an axis: Items[index].Visible:=false; But since v2010.01 Items[index] is a TAxisItem that hasn't a Visible property. So you have to do it through Items[index].Format: Items[index].Format.Visible:=false; But the Visibility isn't checked when drawing a TCustomTextShape, so the label is still drawn. See the project attached.