Page 1 of 1
Transparent fill in TPointSeries
Posted: Thu Oct 18, 2007 8:15 pm
by 9340301
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
Posted: Fri Oct 19, 2007 7:15 am
by narcis
Hi Nick,
You can use this:
Code: Select all
Series1.Pointer.Brush.Style:=bsClear;
Re: Transparent fill in TPointSeries
Posted: Wed Mar 18, 2015 6:52 am
by 9047589
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
Re: Transparent fill in TPointSeries
Posted: Wed Mar 18, 2015 1:42 pm
by yeray
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 (26.56 KiB) Viewed 12900 times
- By code, you can still do what Narcís pointed out above:
Code: Select all
Series1.Pointer.Brush.Style:=bsClear;
Re: Transparent fill in TPointSeries
Posted: Thu Mar 19, 2015 8:04 pm
by 9047589
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
Re: Transparent fill in TPointSeries
Posted: Fri Mar 20, 2015 10:53 am
by yeray
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.