Overload the tFastLineSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
weidunu
Newbie
Newbie
Posts: 15
Joined: Mon Oct 15, 2007 12:00 am

Overload the tFastLineSeries

Post by weidunu » Tue Nov 27, 2007 9:20 am

Hi,


under C++Builder 5.0 and Teechart 4.01 I have create a TMayFastSeries to accelerate the draw speed.

In the past I have written:

class TMyFastSeries: public TFastLineSeries
{
public:
void __fastcall DrawValue(int ValueIndex);
int iX_Old,iY_Old;
public: // Benutzerdeklarationen published
__fastcall TMyFastSeries(TComponent* Owner);

__published:
property LinePen; // <- CB5 ok !


};
When I compiled under BS2006 & Teechart V8 a typename will be expected. So I have written it to :

property Tecanvas::TChartPen* LinePen; <- Typename expected !!!


But the error is the same. It´s stange . Can anybody help me ?

Best regards

Udo




#endif

Post Reply