Marks Font Transparency

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
sde
Newbie
Newbie
Posts: 21
Joined: Fri Jun 21, 2013 12:00 am

Marks Font Transparency

Post by sde » Thu Jan 04, 2018 9:41 pm

Hi there,

In my project I have a series where I want the marks to be transparent (background) while the mark text is visible. So I set it up that way and everything looks great. But I allow the user to change the marks font through a tfontdialog. So when I assign a TFont to the TTeeFont (Series.Marks.Font), all of a sudden the marks disappear. By using the tcharteditor I discovered that somehow a transparency is being set to 100 during the assign statement when it used to be 0. However, I cannot figure out what property it is in the code.

Can you please tell me what property corresponds to the following control in the TChartEditor?

Code: Select all

TChartEditor > Series > Marks > Text > Format > Font > Font > Transparency slider bar
I am using Delphi Tokyo with the corresponding Tokyo compatible TeeChart.

Thanks!

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

Re: Marks Font Transparency

Post by Yeray » Mon Jan 08, 2018 11:38 am

Hello,

We use a custom fonts editor. You can open it as follows:

Code: Select all

  EditTeeFontEx(Self, Chart1[0].Marks.Font);
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