Sorts the labels in the specified axis by the specified comparator.

Namespace: Endeca.Navigation.Charting
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (6.2.2.8614)

Syntax

C#
public virtual void SortLabels(
	int axis,
	IComparer comparer
)
Visual Basic
Public Overridable Sub SortLabels ( _
	axis As Integer, _
	comparer As IComparer _
)
Visual C++
public:
virtual void SortLabels(
	int axis, 
	IComparer^ comparer
)

Parameters

axis
Type: System..::..Int32
The axis to be sorted.
comparer
Type: System.Collections..::..IComparer
The Comparator that will compare the Label objects.

Remarks

The next caller to the GetLabels(Int32) method will receive the labels in sorted order.

See Also