![]() | 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: | Cursortool and custom axes | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Tools | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | v2016.19 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=16184 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | test project | ||
Created attachment 620 [details] test project Having a series using CustomAxes and a CursorTool, the tool can't be dragged because, as the customer found, TTeeCustomToolSeries.GetHorizAxis and TTeeCustomToolSeries.GetVertAxis functions don't check CustomAxes: Function TTeeCustomToolSeries.GetHorizAxis:TChartAxis; begin if Assigned(FSeries) then result:=FSeries.GetHorizAxis else with ParentChart do begin if HasActiveSeries(BottomAxis) then result:=BottomAxis else if HasActiveSeries(TopAxis) then result:=TopAxis else result:=BottomAxis; end; end;