![]() | 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: | TCircularGauge does not draw the last point on the axis | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | alexandre |
| Component: | Series | Assignee: | yeray alonso <yeray> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | alexandre, yeray |
| Priority: | Highest | ||
| Version: | 27.190530 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | RAD 10.3 Rio |
| Attachments: | Attachments shown in the description | ||
Declaring tmpValue, tmpStep and tmpStep2 as TAxisValue in TCircularGauge.DrawAxis method fixes the problem. (In reply to yeray alonso from comment #1) > Declaring tmpValue, tmpStep and tmpStep2 as TAxisValue in > TCircularGauge.DrawAxis method fixes the problem. Hi Alonso, In which version will this fix be available? Thank you. This fix will be included in the next maintenance release (probably v2020.32). I can't say when it will be published but if you want to tell me what IDE are you using I can prepare a beta version for you. (In reply to yeray alonso from comment #3) > This fix will be included in the next maintenance release (probably > v2020.32). > I can't say when it will be published but if you want to tell me what IDE > are you using I can prepare a beta version for you. Hi Alonso, Can you send a patch (maybe .dcu or .pas) or just the source code of the method so I can create a new class, inherit and override the method? My version of Delphi: 10.3.1. My version of Steema: TeeChart Pro v2019.27.190530. Thank you. (In reply to alexandre from comment #4) > Can you send a patch (maybe .dcu or .pas) or just the source code of the > method so I can create a new class, inherit and override the method? I've just sent it to your mail. |
Created attachment 954 [details] Attachments shown in the description There is a problem with the VCLTee.TeeCircularGauge.TCircularGauge.DrawAxis method that, in some circumstances, causes the last point on the axis not to be drawn. This is due to the fact that most of the local variables are of type Single while the properties of the components are Double. Attached is a DFM of a form containing only one TChart component with a TCircularGauge series simply configured to illustrate the problem. To make the source of the problem even clearer, the attached image shows the most relevant settings. Also attached is an image showing the problem. ------------------------------------------------------ procedure TCircularGauge.DrawAxis; ... // Axis.Increment: Double = 2402.4325 // tmpStep: Single = 2402.4326171875 tmpStep := Axis.Increment; ------------------------------------------------------