Unit series is in the uses list but it didnt work. I have done some tests:
D6.02, TeeChart Pro 5.02, RB 7
Building a new Application, placing a TppReport on the Main Form, removing header and footer, placing a TppChart, adding a BarSeries (or PieSeries), adding Series to uses list.
When the form is created I get the error: Class TBarSeries (or TPieSeries) not found.
When changing dm0092 in your demo Application to a Barseries I get the same result. The original series in your demo works fine.
i have the same problem... with RegisterClass(..) my program works fine until i exit it... then i get an EAccessViolation-Error... i'am using the demoversion...
We've researched this some more and found out what was happening. We'll have this fixed for the next maintenance release for Teechart support. First, make sure Series is in the uses clause. This will solve the problem when using Teechart 4.04. If you have Teechart 5.02, you have to make another call. Make this call in the initialization section of your form unit: Series.RegisterTeeStandardSeries. If you are using a series that isn't one of the standard ones, then you'll have to add to the uses clause instead and not make any further calls as you do for the standard series. For example, if you add a contour series, you'll have to add TeeSurfa to your uses clause.
Comments
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Unit series is in the uses list but it didnt work. I have done some tests:
D6.02, TeeChart Pro 5.02, RB 7
Building a new Application, placing a TppReport on the Main Form, removing
header and footer,
placing a TppChart, adding a BarSeries (or PieSeries), adding Series to uses
list.
When the form is created I get the error: Class TBarSeries (or TPieSeries)
not found.
When changing dm0092 in your demo Application to a Barseries I get the same
result. The original
series in your demo works fine.
Hope I can get more help.
Thanks a lot
unit so that you can get around the error until we can research it further.
uses
Series;
initialization
RegisterClass(TBarSeries);
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
i have the same problem... with RegisterClass(..) my program works fine
until i exit it... then i get an EAccessViolation-Error... i'am using the
demoversion...
Thanks
Stephan Methner
m.able GmbH, Munich
this fixed for the next maintenance release for Teechart support. First,
make sure Series is in the uses clause. This will solve the problem when
using Teechart 4.04. If you have Teechart 5.02, you have to make another
call. Make this call in the initialization section of your form unit:
Series.RegisterTeeStandardSeries. If you are using a series that isn't one
of the standard ones, then you'll have to add to the uses clause instead and
not make any further calls as you do for the standard series. For example,
if you add a contour series, you'll have to add TeeSurfa to your uses
clause.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com