ImageEn, unit histogrambox

THistogramBox.MaxHeightRatio

THistogramBox.MaxHeightRatio

Declaration

property MaxHeightRatio: Double;

Description

Specifies a maximum height for the histogram (regardless of the height of the control), e.g. if MaxHeightRatio is 1.0 then the histogram height will be <= width.
Allowable range is 1.0 to 10.0. Values of less than 1.0 remove any height contraint.

Note: Width contraints are not supported.

Default: 0.0

Example

// Make height no more than 66% of width
HistogramBox1.MaxHeightRatio = 1.5;
HistogramBox1.Update();