Back to Devexpress

ScaleMode Enum

corelibraries-devexpress-dot-xtracharts-7e56753d.md

latest3.4 KB
Original Source

ScaleMode Enum

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum ScaleMode
vb
<ResourceFinder(GetType(XtraChartsResFinder), "PropertyNamesRes")>
Public Enum ScaleMode

Members

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

|

The following properties accept/return ScaleMode values:

LibraryRelated API Members
Cross-Platform Class LibraryScaleOptionsBase.ScaleMode
WinForms ControlsScaleOptionsBaseModel.ScaleMode

Remarks

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

See Also

DevExpress.XtraCharts Namespace