Page 1 of 1

TSeriesMarks Color

Posted: Mon May 15, 2006 5:43 am
by 9335230
Hi,
I am using Teechart 7.06 VCL version under C++ Builder . It is possible to assign different colors to each mark in a TSeriesMarks serie?

If not, Is it possible to inherit from it and change this behaviour?

Thanks in advance
Pablo

Posted: Mon May 15, 2006 7:46 am
by narcis
Hi Pablo,
I am using Teechart 7.06 VCL version under C++ Builder . It is possible to assign different colors to each mark in a TSeriesMarks serie?
I'm afraid this is not possible for now.
If not, Is it possible to inherit from it and change this behaviour?


Yes, you may create you own marks inheriting from the existing ones and overriding necessary methods.

Posted: Mon May 22, 2006 5:44 am
by 9335230
Narcis,
I have found that Color property can be set for every mark item. C++ Code:

int np=0;
Serie->Marks->Item[np]->Color=clYellow;

and thats all,

Greetings
Pablo

Posted: Mon May 22, 2006 9:19 am
by narcis
Hi Pablo,

You are right, I confused myself :oops:.