Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 77

Summary: Marks inheriting the Series transparency
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: david
Priority: ---    
Version: 131016   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-06 10:56:36 EST
See the example in the forums:
http://www.teechart.net/support/viewtopic.php?p=63460#p63460

With v2013, the Mark Fonts are a bit transparent even if you don't set Marks transparency. The Shape, Font and Pens should have independent transparencies.
Comment 1 david berneda 2013-11-06 11:48:18 EST
Yes, this is a breaking change compared to previous versions.

The reasoning is, if you apply transparency to a series you'll usually want also transparency to everything that belongs to that series (marks, additional drawings in some series, etc).

Main reason is if you apply a fade-out or fade-in animation to a series, you want everything to appear or disappear, not just the series points.

One possible solution for a next update can be a new property at Marks level, to disable using its parent Series transparency:

  Series1.Transparency := 30;
  Series1.Marks.UseSeriesTransparency := False;  // default True
Comment 2 david berneda 2013-11-13 10:28:34 EST
Fixed by adding a new property to Series Marks to not make use of Series transparency:

Series1.Marks.UseSeriesTransparency := False;

Default is True.

The same concept could be applied to other elements (Font, Pen, etc) as a generic new property "ParentTransparency:Boolean default True".