Page 1 of 1

Adding function series problem

Posted: Tue Mar 11, 2008 10:19 am
by 10045570
I have a chart to which i add programmaticly series.
After that when i try to edit the chart to add a new function series for example curve fit series i do not see the series in the series list to select the one i want to use for curve fit.....
I looks like something is not updated.......
After addin series i use the chart.update and chart.repaint procedures ....
Do i have to call somethin else to have the series updated????
When i sane the chart in tee format and open it with teechartoffice it works fine.....
Any suggestion?????
Thanks
Alex

Posted: Tue Mar 11, 2008 11:53 am
by narcis
Hi Alex,

This works fine for me here using TeeChart Pro v8.02 VCL. Could you please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the TeeChart version you are using?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

Posted: Tue Mar 11, 2008 11:57 am
by 10045570
I use teechart 8.01 ..
I will change the version of teechart and if still have the same issue i will send you a simple project....
Thanks
Alex

Posted: Wed Mar 12, 2008 9:59 am
by 10045570
i have uploaded a sample project at the upload page
Curve - Add series problem.zip
The add series works fine....
The add series and curve works fine programmaticly....
But when you edit the chart and try to add a new curve function series based on series 1 works wrong looks like the editor does not recognize the source series
anything wrong on the way i add the series?????

Posted: Wed Mar 12, 2008 10:15 am
by narcis
Hi IQSoft,

Thanks for the example project but I'm still not able to reproduce the issue here using v8.02. Would you be so kind to let me know the exact steps I should follow to reproduce the issue here?

Thanks in advance!

Posted: Wed Mar 12, 2008 11:36 am
by 10045570
On the sample project
Add a series and a curve series pressing the button add curve..
You must have a series and a curve fitting of the series...
try to edit the diagram and add a new series curve fitting with source series series 1
you get a new curve series with one point and not like the curve added programmaticly....
Thanks Alex
ps. I use version 8.02 of the chart pro.

Posted: Wed Mar 12, 2008 11:52 am
by narcis
Hi Alex,

Thanks for the information but I'm still not able to reproduce the issue here as you can see on this video:

http://www.steema.com/files/public/supp ... itting.swf

Do you think I'm doing anything wrongly?

Thanks in advance.

Posted: Wed Mar 12, 2008 12:47 pm
by 10045570
I cant see the swf sorry
when you add the series and the curve fitt series with the add curve button you have 2 series
Series 1 and series 1 - curve ok???
when editing the chart and add a new series
datasource function curve fitt and
source series series 1
you get the same result as series 1 - curve ???
because i get a series with only one point and not all the points as series 1 - curve which is added programmaticly.....
Thanks Alex

Posted: Wed Mar 12, 2008 12:48 pm
by 10045570
Can you send me a compiled exe of the project to check it... not to use the source so see the behaviour and see if something is wrong with my installation...????

Posted: Wed Mar 12, 2008 12:55 pm
by narcis
Hi Alex,
I cant see the swf sorry
It's strange, it's a flash file, you should be able to play it with a browser.
when you add the series and the curve fitt series with the add curve button you have 2 series
Series 1 and series 1 - curve ok???
when editing the chart and add a new series
datasource function curve fitt and
source series series 1
you get the same result as series 1 - curve ???
because i get a series with only one point and not all the points as series 1 - curve which is added programmaticly.....
Yes, this works fine for me as shown in the video.
Can you send me a compiled exe of the project to check it... not to use the source so see the behaviour and see if something is wrong with my installation...????
Sure, I've just sent you the .exe.

Posted: Wed Mar 12, 2008 1:07 pm
by 10045570
As i see your compiled exe looks fine ... something is wrong to my system...
i will check it
is it possible to have a problem with the unistallation of version 8 and installation of 8.02????

Posted: Wed Mar 12, 2008 1:16 pm
by narcis
Hi Alex,

I now notice the video URL was wrong, this is the correct link:

http://www.steema.com/files/public/supp ... g.swf.html
is it possible to have a problem with the unistallation of version 8 and installation of 8.02????
Yes, that's possible. It could be that your IDE is still using an older TeeChart version.

Posted: Wed Mar 12, 2008 2:29 pm
by 10045570
I unistalled cleaned and reinstall tee from the ide
The problem still remaining..
I upload on the upload page a compiled exe of the sample project so you can see the problem
Project1.zip is the file

Posted: Tue Mar 18, 2008 2:17 pm
by narcis
Hi Alex,

This is most likely that your Delphi still has v8.01 installed instead of v8.02. Just openning your project with v8.02 and building it works fine for me. You should check that Delphi has v8.02 packages installed at Project->Options->Packages and that v8.02 "Bin" and "Lib" folders are on *top* of the search path list at Project->Options->Directores/Conditionals and that this list doesn't contain any old TeeChart version path. Finally enable the lef-bottom "Default" checkbox.