AxisBase.QualitativeScaleComparer Property

Gets or sets the comparer used to compare deferred-axis qualitative scale values.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

[Browsable(false)]
public IComparer QualitativeScaleComparer { get; set; }
<Browsable(False)>
Public Property QualitativeScaleComparer As IComparer

Property Value

Type Description
IComparer

An object of the class implementing the IComparer interface.

Examples

To implement a custom qualitative scale values sort order, assign an object of a class implementing the IComparer interface to the AxisBase.QualitativeScaleComparer property.

<dxc:XYDiagram2D.AxisX>
    <dxc:AxisX2D>
        <dxc:AxisX2D.QualitativeScaleComparer>
            <local:NumberComparer/>
        </dxc:AxisX2D.QualitativeScaleComparer>
    </dxc:AxisX2D>
</dxc:XYDiagram2D.AxisX>

Implements

DevExpress.Charts.Native.IAxisData.QualitativeScaleComparer
See Also