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

ScaleMode Enum

Lists the values that specify the scale mode for an axis.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll

NuGet Package: DevExpress.Charts

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum ScaleMode

Members

Name Description
Automatic

Identifies the automatic scale mode, meaning that data is automatically aggregated according to the chosen ScaleGridOptionsBase.AggregateFunction.

Manual

Identifies the manual scale mode, meaning that the GridAlignment (DateTimeScaleOptions.GridAlignment, NumericScaleOptions.GridAlignment or TimeSpanScaleOptions.GridAlignment) and MeasureUnit (DateTimeScaleOptions.MeasureUnit, NumericScaleOptions.MeasureUnit or TimeSpanScaleOptions.MeasureUnit) properties are in effect, and they should be manually defined. Also, you can use the ScaleGridOptionsBase.AggregateFunction property to choose the aggregate function.

Continuous

Identifies the continuous scale mode, meaning data aggregation is disabled and you can only change the grid alignment using the GridAlignment (DateTimeScaleOptions.GridAlignment, NumericScaleOptions.GridAlignment or TimeSpanScaleOptions.GridAlignment) property.

Interval

Identifies the interval scale mode, which means that the axis scale is divided into intervals. Note that the Chart Control does not apply the resampling mechanism to points in this scale mode.

Related API Members

The following properties accept/return ScaleMode values:

Library Related API Members
Cross-Platform Class Library ScaleOptionsBase.ScaleMode
WinForms Controls ScaleOptionsBaseModel.ScaleMode

Remarks

The values listed by the ScaleMode enumeration are used to set the ScaleOptionsBase.ScaleMode property.

See Also