Page 1 of 1

About using of TeeChart

Posted: Wed Jul 14, 2010 6:51 am
by 15656007
Hello,
I use TeeChart for Activex in VC.NET,and now missing two questions.
1. I want to draw two scLine in my chart with three data filed in my data source text ,but there's only appear one line .I don't know why?The attchment is my application.
2.How can I create a Curve Fitting line? Which properties I should set?
Thank you!

Best Regards,
Candy

Re: About using of TeeChart

Posted: Wed Jul 14, 2010 9:41 am
by narcis
Hi Candy,
1. I want to draw two scLine in my chart with three data filed in my data source text ,but there's only appear one line .I don't know why?The attchment is my application.
That is because you are using a SeriesTextSource component for both series. You should use one for each series.
2.How can I create a Curve Fitting line? Which properties I should set?
You shoud create a CurveFitting function, associate it to a series and set a datasource series to the function series as explained in tutorial 7. You'll find VC++ examples in tutorial 15. Tutorials can be found at TeeChart's program group.