Axis.Scaling Property
Gets or sets scaling settings for the axis.
Namespace: DevExpress.Docs.Office
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| AxisScaling | Axis scaling settings. |
Remarks
The following code snippet specifies the minimum and maximum values for the argument axis:
using DevExpress.Docs.Presentation;
using DevExpress.Docs.Office;
//...
CategoryAxis? axis = chart.ArgumentAxis as CategoryAxis;
if (axis != null) {
axis.Scaling = new AxisScaling { Min = 1, Max = 3 };
}
See Also