![]() | 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: | SurfaceNearestTool method GetRowCol, never return the first column of Surface | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Tools | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | david |
| Priority: | Normal | ||
| Version: | 140220 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Nearest Surface Tool Problem | ||
The first column you mean it returns columns always from 2 to 30 in this example? I guess the problem is its returning rows from 1 to 29, but columns from 2 to 30. There is an internal code that controls if the surface is "back faced", ie: if you rotate the surface 180 degrees, the tool should work and return the same values as if not rotated. The solution might be always returning the Col number -1 in all cases. Fixed. Now the column returned in GetRowCol function is always decremented by 1. Warning: This change can break existing code assuming the column is always +1. |
Created attachment 145 [details] Nearest Surface Tool Problem The SurfaceNearestTool method GetRowCol returns all Surface rows and columns selected, except the first column. Attached project show the problem. This behaviour isn't produced in TeeChart.Net.