Link to home
Start Free TrialLog in
Avatar of IgnaceLamine
IgnaceLamine

asked on

TChart component makes my app crash, why?

I am using Delphi 2005 Professional on WinXP

Drop a TChart component on the form, add a line series.

Add a button to the form with following handler:

Series1.AddXY(70,14500);
Series1.AddXY(71,14500);
Series1.AddXY(72,14500);
Series1.AddXY(73,14500);
Series1.AddXY(74,14500);

When you press the button in runtime the app crashes. Why?
It seems to happen when the y-values you enter are very high and all the same.
ASKER CERTIFIED SOLUTION
Avatar of Jacco
Jacco
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Why grade B??
Avatar of IgnaceLamine
IgnaceLamine

ASKER

An acceptable solution, cause I still need to find a way to deal with this bad behaviour in my app.  Setting it not automatic leaves me with other problems.
   

*  A: The Expert(s) either provided you with a thorough answer or they provided you with a link to information that thoroughly answered your question. An "A" can also be given to any answer that you found informative or enlightening beyond the direct question that you asked.

    * B: The Expert(s) provided an acceptable solution, or a link to an acceptable solution, that you were able to use, although you may have needed a bit more information to complete the task.

    * C: Because Experts' reliability are often judged by their grading records, many Experts would like the opportunity to clarify if you have questions about their solutions. If you have given the Expert(s) ample time to respond to your clarification posts and you have responded to each of their posts providing requested information; or if the answers, after clarification, lack finality or do not completely address the issue presented, then a "C" grade is an option. You also have the option here of just asking Community Support to delete the question.
You didn't ask that. You asked:

"When you press the button in runtime the app crashes. Why?"

I think I anwered that. How could I have guessed you need additional information.

You could have asked...

Regards Jacco