Page 1 of 1

TTeePen

Posted: Tue Apr 01, 2014 10:21 am
by 5887289
Hi

I'm porting a custom series to FMX and I can't find info on TTeePen:

In VCL I have BarPen.Style := psClear; - what's the equivalent in FMX?

Thanks, Bob

Re: TTeePen

Posted: Wed Apr 02, 2014 9:56 am
by yeray
Hi,

You may be missing the FMXTee.Canvas unit in the uses clause because the following seems to work fine for me here:

Code: Select all

uses FMXTee.Series, FMXTee.Canvas;

procedure TForm1.FormCreate(Sender: TObject);
begin
  with Chart1.AddSeries(TBarSeries) as TBarSeries do
  begin
    FillSampleValues;
    BarPen.Style:=psClear;
  end;
end;

Re: TTeePen

Posted: Wed Apr 02, 2014 3:02 pm
by 5887289
That was it - thanks. I'd just assumed FMX had a different constant!

Cheers, Bob

Re: TTeePen

Posted: Mon Mar 28, 2016 7:12 pm
by 16575033
I also would like to know where to find the

TSeriesMarkStyle

for FMX?

WHere can I find this and similar questions? Is there a Help for the FMX Teechart Types?
Thanks
Walter

Re: TTeePen

Posted: Tue Mar 29, 2016 9:07 am
by 16575033
I found it ALL Styles for this begins with sms...
F.e. smsLabel or smsValue.
right?
:D

Re: TTeePen

Posted: Tue Mar 29, 2016 9:27 am
by narcis
Yes, that's correct.