Page 1 of 1

Border and Style of Points in TPointSeries

Posted: Fri Jan 19, 2007 11:46 am
by 8438229
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

Posted: Fri Jan 19, 2007 12:13 pm
by narcis
Hi Elisabet,

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

Code: Select all

        Series1->Pointer->Style = psCircle;
        Series1->Pointer->Pen->Visible = false;

Posted: Fri Jan 19, 2007 12:36 pm
by 8438229
Thank you so much. I have tried what you said and It works.

Posted: Mon Jan 22, 2007 4:48 pm
by 8438229
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

Posted: Mon Jan 22, 2007 4:54 pm
by narcis
Hi Elisabet,

In BCB you can make bold fonts like this:

Code: Select all

        Series1->Marks->Font->Style = TFontStyles()<< fsBold;