Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSparklineSeriesCollection.MaxValue Property

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

#Declaration

Delphi
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