Skip to main content

Series.ValueScaleType Property

Gets or sets a value that specifies the scale type of series points’ values.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public ScaleType ValueScaleType { get; set; }

Property Value

Type Description
ScaleType

A ScaleType enumeration value, which specifies the values type.

Available values:

Name Description
Qualitative

Identifies the Qualitative data scale. This means that data provided for the Series.Points will be treated as qualitative values, and will be shown on the axis as textual representations (e.g., A, B, and C).

Numerical

Identifies the Numerical data scale. This means that data provided for the Series.Points will be treated as numerical values, and will be shown on the axis as numbers (e.g., 100, 200, and 300). Use the AxisBase.Label‘s AxisLabel.TextPattern property to define the output format of numerical values shown on the axis.

DateTime

Identifies the DateTime data scale. The data that you provide for the Series.Points will be treated as DateTime values, and will be shown on the axis as DateTime values (e.g., January, 2003, January, 2004, and January, 2005). The axis’s DateTimeScaleOptions property allows you to specify the scale-related settings. To define the output format of DateTime values shown on the axis, use the AxisBase.Label‘s AxisLabel.TextPattern property.

TimeSpan

Identifies the TimeSpan data scale. The data that you provide for the Series.Points will be treated and shown on the axis as TimeSpan values (for example, 00:00:00, 00:00:01, 00:00:02). Note that in this case, the axis’s TimeSpanScaleOptions property allows you to specify the scale-related settings. To define the output format of TimeSpan values shown on the axis, use the AxisBase.Label‘s AxisLabel.TextPattern property.

Auto

A scale type is detected automatically based on the type of underlying data. This means that numerical data will be treated as numerical, date-time data as date-time, qualitative as qualitative values.

Note that this mode can be applied only for the Series.ArgumentScaleType property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ValueScaleType property.

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