Series.ArgumentScaleType Property

Gets or sets a value that specifies the scale type of series point arguments.

Namespace: DevExpress.Xpf.Charts

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

Declaration

public ScaleType ArgumentScaleType { get; set; }

Property Value

Type Description
ScaleType

A ScaleType enumeration value, which specifies the argument type. The default value is Auto.

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.

Remarks

NOTE

Usually, you don’t need to change the argument scale type of the ArgumentScaleType property (set to the Auto mode, by default) because the type of series point argument is detected automatically based on the type of underlying data.

See Also