ImageEn, unit histogrambox

THistogramBox.GrayColor

THistogramBox.GrayColor


Declaration

property GrayColor: TColor;


Description

Specify the color of the line/bar for a gray histogram (i.e. when HistogramKind is [hkGray]).

Note: If a standard color, such as clBtnFace is used, it may be overridden by VCL theming colors. Set EnableTheming to false to prevent this

Default: clBlack


Example

// Make colors support theming
HistogramBox1.Background     := clBtnFace;
HistogramBox1.GrayColor      := clWindowText;
HistogramBox1.Font.Color     := clWindowText;