Transparent fill in TPointSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
nicoconqueso
Newbie
Newbie
Posts: 4
Joined: Wed Dec 15, 2004 5:00 am
Location: Golden, CO - USA

Transparent fill in TPointSeries

Post by nicoconqueso » Thu Oct 18, 2007 8:15 pm

Hello all,

I am trying to create a transparent fill in a TPointSeries in the code, but can't find the object to change it. If you use the TChart editor, it is under Format.Pattern and you just set it to None. But in the code, I've tried changing the series.brushstyle to bsNone, but doesn't work. Any ideas?

Thanks for your help,
Nick

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 Oct 19, 2007 7:15 am

Hi Nick,

You can use this:

Code: Select all

  Series1.Pointer.Brush.Style:=bsClear;
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

xxxxxx
Advanced
Posts: 128
Joined: Tue Jun 19, 2007 12:00 am
Location: Russia
Contact:

Re: Transparent fill in TPointSeries

Post by xxxxxx » Wed Mar 18, 2015 6:52 am

I'm afraid this feature isn't available now, at least at design time. I tried to achieve it by both Chart Editor and Object Inspector but out of success. To prove it I tried to do the same things in pre-compiled Tee8New and Tee9New demos. Is this expected feature change or a bug?
Cheers,
Alexander
Attachments
Tee8New.gif
Tee8New.gif (249.92 KiB) Viewed 10305 times
Tee9New.gif
Tee9New.gif (246.94 KiB) Viewed 10302 times

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

Re: Transparent fill in TPointSeries

Post by Yeray » Wed Mar 18, 2015 1:42 pm

Hello,

In the actual version, TeeChart v2015.14 I can achieve it both through the editor and by code:
- Through the editor, set the point to be transparent:
pointer.png
pointer.png (26.56 KiB) Viewed 10314 times
- By code, you can still do what Narcís pointed out above:

Code: Select all

  Series1.Pointer.Brush.Style:=bsClear;
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

xxxxxx
Advanced
Posts: 128
Joined: Tue Jun 19, 2007 12:00 am
Location: Russia
Contact:

Re: Transparent fill in TPointSeries

Post by xxxxxx » Thu Mar 19, 2015 8:04 pm

Thanks for the reply. My problem is I still use mainly Delphi 5 (although have older versions ups to XE2) due to need in Win9x users support. So the latest build I'm able to use is Build 2012.07.121105. And I have source code up to Build 2013.08.130521. May you give me a tip how to cope with this sort of problem>?
Thanks in advance
Alexander

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

Re: Transparent fill in TPointSeries

Post by Yeray » Fri Mar 20, 2015 10:53 am

Hi Alexander,

This was a bug we identified here and fixed as a customer explains here.
Having the v2012.07 sources, you can just remove that line of code (line nº 15244 in TeEngine.pas) and it should fix it.
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