No Fitted Line on Re-Plot
Posted: Sat Jan 14, 2006 6:24 pm
My form has a tChart, a tPointSeries and a tCurveFittingFunction, which draws a best-fit through the plotted tPointSeries points. An execute button launches this process, pulls data from a user input control, adds titles, and plots all points including the fitted line when the tChart visible property is set to true.
Now, suppose the user wants to modify plotted points and presses the execute button a second time. The new points are plotted, but the fitted line does not reappear. The user is compelled to stop and restart the application in order to get the fitted line. I tried adding a call to tCurveFittingFunction.Calculate(), but that did not help. What is needed in order to have the fit line included on every press of the execute button?
Any ideas appreciated.
Now, suppose the user wants to modify plotted points and presses the execute button a second time. The new points are plotted, but the fitted line does not reappear. The user is compelled to stop and restart the application in order to get the fitted line. I tried adding a call to tCurveFittingFunction.Calculate(), but that did not help. What is needed in order to have the fit line included on every press of the execute button?
Any ideas appreciated.