How to change the color of mark

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

How to change the color of mark

Post by elmec » Mon May 05, 2014 5:59 am

Is there some property like Series1->Marks->Color used to change the color of specified mark of TPointSeries?

Thanks in advance.

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to change the color of mark

Post by Yeray » Mon May 05, 2014 7:17 am

elmec wrote:Is there some property like Series1->Marks->Color used to change the color of specified mark of TPointSeries?

Thanks in advance.

Yes, in the latest versions of TeeChart you can access the Series' Marks.Item array and set different properties for that shape, like Color, Font, Transparency,...
Ie:

Code: Select all

Series1.Marks.Item[3].Color:=clRed;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply