Sets up an axis with bar labels.

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual void SetLabels(
	string[] labels
)
Visual Basic (Declaration)
Public Overridable Sub SetLabels ( _
	labels As String() _
)
Visual C++
public:
virtual void SetLabels(
	array<String^>^ labels
)

Parameters

labels
Type: array< System..::.String >[]()[]
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