Teechart 7 Serial
In my application a teechart is place on a frame. Multiple instances of this frame are placed on a vcl form dynamically. The charts are placed and initialized on the forms constructor.
Later the charts get their xy values, axes are scaled either manually or automatic and so on. Sometimes I get an error which can not be tracked down to a certain location. The stack dump shows that something internal at the teechart goes wrong. Teechart is Pro2020 32Bit VCL.
A similar problem has been reported by a customer with an earlier version of the software. So it is very likely a problem that is not dependent on the particular teechart version. Here is a bugreport from madexcept. Hope this gives you some hint. Gerhardsachs wrote:in my application a teechart is place on a frame. Multiple instances of this frame are placed on a vcl form dynamically. The charts are placed and initialized on the forms constructor.
Later the charts get their xy values, axes are scaled either manually or automatic and so on. Sometimes I get an error which can not be tracked down to a certain location. The stack dump shows that something internal at the teechart goes wrong. We'd need a simple example project we can run as-is to reproduce the problem here so we can check if there's a bug on the library. Hi Yeray, my application is a rather big Project, it is not easy to pull parts out. Alamat situs web video blue ridge.
You expect me to invest a substantial amount of time to an example without knowing if the Problem shows up there. Time that I do not have, sorry. I think I already gave you a lot of Information, more is currently not possible.
The customer I am talking about is my and not your customer, they have nothing to do with Teechart. It is a big car maker where the machine where my application is running works in a production line. It is not practical to get detailled Information from them, they simply told me that sometimes a Floating Point error occurs at the time when the Charts are redrawn. My workarount is indeed not a practical solution. I think the solution with the least effort is to scale the Chart by myself. Regards Gerhard Sachs. Hi Yeray, I already had problems with axis scaling when Setting min and max values separately.
Teechart Pro 6 For Delphi 7 Serial Numbers. Convert Teechart Pro 6 For Delphi 7 trail version to full software.
This is the reason why I use only the SetMinMax function, I never had problems with it. But in the current Situation I tell TeeChart to scale the Y axis by itself. This works well in most cases but not always. I have no influence on how TeeChart does this internal scaling.
It seems that TeeChart does not check the numbers before using them for scaling. Probably one of the numbers is +NAN or -NAN.
You should check them before trying to scale and if one or both are suspect then do NOT scale. Scaling will be unsuccessfull in such cases anyway. In manual scaling an error message may be a debug aid, in automatic scaling it is useless. Regards Gerhard Sachs. Gerhardsachs wrote:But in the current Situation I tell TeeChart to scale the Y axis by itself. This works well in most cases but not always. I have no influence on how TeeChart does this internal scaling.
It seems that TeeChart does not check the numbers before using them for scaling. Probably one of the numbers is +NAN or -NAN. You should check them before trying to scale and if one or both are suspect then do NOT scale. Scaling will be unsuccessfull in such cases anyway.
In manual scaling an error message may be a debug aid, in automatic scaling it is useless. We don't like to manipulate the given data because some customers may prefer the NANs to be considered as 'zero', other would want to consider it as 'null', other as a predefined value, etc etc etc. That's why we prefer giving the responsibility to manipulate/adjust the data to the developer.
TeeChart Pro VCL FMX is a charting component compatible with Delphi, RAD Studio, FireMonkey, and C++Builder. The package comprises properties, methods, libraries, and other tools developers require in order to create compelling charts and include them in their projects. TeeChart Pro can render 2D, 3D charts, as well as OpenGL graphics while not neglecting effects, such as lights and shadows, and antialiasing. Alongside a plethora of chart styles, it includes an assortment of maps and gauges, enabling developers to implement various methods for graphically displaying data. The purpose is to offer final users a way to generate professional-looking charts that are scalable and easy to handle.