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 94 - SeriesBand has SeriesIndex dependant transparency
Summary: SeriesBand has SeriesIndex dependant transparency
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-12 10:17 EST by Whookie
Modified: 2013-11-25 09:52 EST (History)
1 user (show)

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


Attachments
Color/transparency changing SeriesBand project. (1.75 KB, application/octet-stream)
2013-11-12 10:31 EST, narcís calvet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Whookie 2013-11-12 10:17:55 EST
When you compile (DXE4/Win32) the attched demo you can use the "Up"/"Down" buttons to raise or lower the blue series (Series4). By doing so the red SeriesBand changes its color (even though neither Color nor Transparency is touched)!

So basically what I need is a constant "color" for the SeriesBand. Because in my Chart are a lot of Series, which can be brought to front (by clicking on it), but that should not change the SeriesBands-look.
Comment 1 narcís calvet 2013-11-12 10:31:22 EST
Created attachment 18 [details]
Color/transparency changing SeriesBand project.
Comment 2 david berneda 2013-11-25 09:26:29 EST
Confirmed. Thanks for reporting.

The problem is in that case (Series1 and Series2 both enabled), and DrawBehind, the colorband is being painted twice when series2 paints after series1, and as it has transparency, two semi-transparent bands are overlapping.

The up/down series order determines which series (1 or 2) will be painted first, and so if makes the band to be wrongly painted twice.
Comment 3 david berneda 2013-11-25 09:52:14 EST
Fixed. A new internal flag controls and prevents the color band to painted twice.

Also improved the Color Band Editor dialog to include the "Bound Value" property, used when Series2 is not used.