Border and Style of Points in TPointSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Elisabet
Newbie
Newbie
Posts: 22
Joined: Fri Nov 15, 2002 12:00 am
Location: Madrid

Border and Style of Points in TPointSeries

Post by Elisabet » Fri Jan 19, 2007 11:46 am

Hello,

I need to assign by code the type of points that I want to use in a “TpointSeries” Series. The parameters that I want to access are:
Style of points (Square, Circle, Diagonal Cross…)
And Border (set it to None)

I have tried the following but it doesn’t work:
Series1->Style = psCircle;
Series1->Border = bsNone;

Thanks in advance,

Elisabet
Last edited by Elisabet on Fri Jan 19, 2007 12:33 pm, edited 1 time in total.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jan 19, 2007 12:13 pm

Hi Elisabet,

You should use Series1->Pointer to achieve what you request:

Code: Select all

        Series1->Pointer->Style = psCircle;
        Series1->Pointer->Pen->Visible = false;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Elisabet
Newbie
Newbie
Posts: 22
Joined: Fri Nov 15, 2002 12:00 am
Location: Madrid

Post by Elisabet » Fri Jan 19, 2007 12:36 pm

Thank you so much. I have tried what you said and It works.

Elisabet
Newbie
Newbie
Posts: 22
Joined: Fri Nov 15, 2002 12:00 am
Location: Madrid

Post by Elisabet » Mon Jan 22, 2007 4:48 pm

One question more, how can I set to bold the text labels in a Point Series?

I've tried: Series1->Marks->Font->Style = Bold;

Thank you

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 22, 2007 4:54 pm

Hi Elisabet,

In BCB you can make bold fonts like this:

Code: Select all

        Series1->Marks->Font->Style = TFontStyles()<< fsBold;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply