Back to Devexpress

AxisBaseModel.ScaleType Property

windowsforms-devexpress-dot-xtracharts-dot-designer-dot-axisbasemodel.md

latest3.3 KB
Original Source

AxisBaseModel.ScaleType Property

Returns the scale type of the modeled axis.

Namespace : DevExpress.XtraCharts.Designer

Assembly : DevExpress.XtraCharts.v25.2.Wizard.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
[Browsable(false)]
public ScaleType ScaleType { get; }
vb
<Browsable(False)>
Public ReadOnly Property ScaleType As ScaleType

Property Value

TypeDescription
ScaleType

The type of the axis scale.

|

Available values:

NameDescription
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 ).

| | DateTime |

Identifies the DateTime data scale. This means that data provided 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 ). Note that in this case the AxisBase.DateTimeOptions property is used to define the output format of DateTime values shown on the axis.

| | 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 TextPattern property.

| | Auto |

The scale type is automatically determined according to the real type of underlying data.

|

See Also

AxisBaseModel Class

AxisBaseModel Members

DevExpress.XtraCharts.Designer Namespace