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 - Marks inheriting the Series transparency
Summary: Marks inheriting the Series transparency
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 131016
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-06 10:56 EST by yeray alonso
Modified: 2013-11-13 10:28 EST (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".