Click or drag to resize
BarSetLabels Method (String)
Sets up an axis with bar labels.

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version:
public virtual void SetLabels(
	string[] labels


Type: SystemString
A String[] array with which to label the axis.

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