![]() | 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: | Invalid floating point operation occurs on repaint | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | Andrew <andrew.e.smith> |
| Component: | Chart | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | narcis, sandra |
| Priority: | --- | ||
| Version: | 150420 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | Line | Delphi / C++ Builder RAD IDE Version: | RAD XE6 |
|
Description
Andrew
2016-02-17 00:01:19 EST
Can you please attach a simple example project we can run "as-is" and let us know the exact steps we should follow to reproduce the problem here? Thanks. (In reply to narcís calvet from comment #1) > Can you please attach a simple example project we can run "as-is" and let us > know the exact steps we should follow to reproduce the problem here? Thanks. I haven't been able to reproduce the issue in anything other than our main software product yet, but will keep trying. What does XPosValueCheck do? If I had to guess based on the call stack, it looks like my cursor tool object has got some sort of dodgy screen position being generated, which is then being passed to XPosValueCheck, which isn't catching an EInvalidOp exception thrown by System.Round. According to http://docwiki.embarcadero.com/Libraries/XE6/en/System.Round, this can occur if the resulting value is not within the int64 range...but I don't know how CalcScreenPositions works so it's difficult to know what could be happening here. Hello Andrew, Thanks for trying to produce a test case. XPosValueCheck and YPosValueCheck perform axis calculations with overflow checking to avoid Windows GDI limits on pixel coordinates. CalcScreenPositions calculates cursor tool screen position. |