Skip to main content

SwiftPlotDiagramAxisXBase.StickToEdge Property

Gets or sets the value that specifies whether the visual range sticks to the whole range’s start or end.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public bool StickToEdge { get; set; }

Property Value

Type Description
Boolean

true if the visual range sticks to the whole range’s edge; otherwise false.

Remarks

The following table demonstrates the possible values:

Note

When the property is set to true, the visual range’s range stays constant.

Description

Sample Image

StickToEdge = false

AxisBase_StickToEnd--false

StickToEdge = true;

The Visual Range is at the end of the Whole Range.

AxisBase_StickToEnd--true-end

StickToEdge = true;

The Visual Range is at the start of the Whole Range.

AxisBase_StickToEnd--true-start

See Also