IMSL C# Numerical Library

Bar.SetLabels Method (String[], Int32)

Sets up an axis with bar labels.

public virtual void SetLabels(
   string[] labels,
   int type
);

Parameters

labels
A String[] which specifes axis labels.
type
An int which specifies the "BarType".

Remarks

This turns off the tick marks and sets the "BarType" attribute. It also turns off autoscaling for the axis and sets its "Window", "Number" and "Ticks" attributes as appropriate for a labeled bar chart.

The number of labels must equal the number of items.

The bar type determines the axis to be modified. Legal values are:

See Also

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