Skip to main content
A newer version of this page is available. .

Range.SetMinMaxValues(Object, Object) Method

Sets both minimum and maximum values of an axis range.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts

Declaration

public void SetMinMaxValues(
    object minValue,
    object maxValue
)

Parameters

Name Type Description
minValue Object

A Object which specifies the minimum set value. The type of an object depends on the axis scale type.

maxValue Object

A Object which specifies the maximum set value. The type of an object depends on the axis scale type.

Remarks

The SetMinMaxValues method provides a range check and correct value mapping of an axis, according to the type of passed arguments and the axis scale (Series.ArgumentScaleType and Series.ValueScaleType).

The following code snippets (auto-collected from DevExpress Examples) contain references to the SetMinMaxValues(Object, Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also