TRVReportBarVisualizer.BackgroundColor, BackgroundOpacity

<< Click to display table of contents >>

TRVReportBarVisualizer.BackgroundColor, BackgroundOpacity

A background color for the visualizer.

property BackgroundColor: TRVColor;

property BackgroundOpacity: TRVOpacity;

Background color is used to fill space "below" the bar.

Opacity is defined in 1/1000 of percent, it must be in the range 0..100000. Opacity is used only if visualizers are drawn using GDI+ (in Delphi XE2+).

Example (BackgroundColor = clMoneyGreen):

BarVis_Background

You can see that the background area has the same width as the bar. Margins are not filled with background.

Default value

BackgroundColor: rvclNone (no background)

BackgroundOpacity: 50000 (i.e. 50%), ignored for BackgroundColor = rvclNone