IMSL C# Numerical Library

Bar.SetLabels Method (String[])

Sets up an axis with bar labels.

public virtual void SetLabels(
   string[] labels
);

Parameters

labels
A String[] array with which to label the axis.

Remarks

This turns off the tick marks and sets the "BarType" attribute. It also turns off autoscaling for the axis and sets its "Window" and "Number" and "Ticks" attribute as appropriate for a labeled bar chart. The existing value of the "BarType" attribute is used to determine the axis to be modified.

The number of labels must equal the number of items.

See Also

Bar Class | Imsl.Chart2D Namespace | Bar.SetLabels Overload List