Skip to main content

TdxSparklineSeriesCollection.MaxValue Property

Specifies the upper bound of the custom sparkline chart display range.

Declaration

property MaxValue: Double read; write;

Property Value

Type
Double

Remarks

You can use the MinValue and MaxValue properties to define the relative length of a Y-axis within the sparkline edit control area.

The control’s chart display behavior depends on the relation between the MaxValue and the maximum series value:

Condition Description Example
MaxValue > Maximum Series Value The control shrinks all charts vertically.
MaxValue = Maximum Series Value The control displays all charts entirely.
MaxValue < Maximum Series Value The control crops all charts.

When you set the custom range, the MinMaxRangeType property value changes to mmrtCustom; otherwise, the lower and upper bounds are calculated automatically.

The default MaxValue property value is 0.

See Also