Page 1 of 1

tCurveFittingFunction

Posted: Tue Jun 21, 2005 11:41 am
by 5890703
Using TeeChart 5.02 with Delphi6 on Windows 2000 SP4. I would like to add tCurveFittingFunction to my tChart. I cannot find that component on the component palette. I noted that TeeChart components were not installed. When I checked that box I got a Delphi 6 error, “can’t load package…dcltee60.bpl. The specified module could not be found”. Uninstalled and reinstalled the entire TeeChart, and the error persisted.

I also tried to add function_curveFitting.pas to the project, and modify it to work with my forms, but had other problems. I need to be able to edit the chart at runtime, but the chart is not formally declared (maybe declared in tBaseForm?). I need to load data entered manually at runtime.

What would be best is simply to drop tCurfeFittingFunction on the existing form containing my tChart object.

Any help appreciated.

Posted: Tue Jun 21, 2005 1:58 pm
by narcis
Hi Hans,
Using TeeChart 5.02 with Delphi6 on Windows 2000 SP4.
I guess you may be using TeeChart Pro VCL, if so I'd appreciate you to post your questions at the TeeChart VCL version forum.
I would like to add tCurveFittingFunction to my tChart. I cannot find that component on the component palette.
TeeChart functions are not components, you can just add them double-clicking on a TChart in a form and setting series source being a function. For more information on how to use functions please have a look at "Tutorial 7 - Working with functions". You'll find the tutorials at TeeChart program group.
I noted that TeeChart components were not installed. When I checked that box I got a Delphi 6 error, “can’t load package…dcltee60.bpl. The specified module could not be found”. Uninstalled and reinstalled the entire TeeChart, and the error persisted.
This error message means your IDE is still referencing old TeeChart packages. You should make sure they were uninstalled at Project -> Options -> Packages and also make sure new TeeChart version "Bin" and "Lib" folders are on top of project search path list (Project -> Options -> Directories/Conditionals -> Search Paths). After that select left-bottom "Default" checkbox, exit Delphi and restart it.
I also tried to add function_curveFitting.pas to the project, and modify it to work with my forms, but had other problems.
Please have a look at the tutorials as I told you above. You could also have a look at TeeChart features demo, available at TeeChart program group, and have a look at the examples at All Features\Welcome!\Functions\Extended\Curve Fitting.
I need to be able to edit the chart at runtime, but the chart is not formally declared (maybe declared in tBaseForm?).
The easiest way is to use TCommander component available at TeeChart palette. Several examples at the features demo use it.
I need to load data entered manually at runtime.
You could use TChartGrid, you'll find an example on how to use it to edit data at features demo (All Features\Welcome!\Components\Chart Grid.