Sets up an axis with labels.
Namespace:
Imsl.Chart2D
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public virtual void SetLabels( string[] labels, int type ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub SetLabels ( _ labels As String(), _ type As Integer _ ) |
Visual C++ |
---|
public: virtual void SetLabels( array<String^>^ labels, int type ) |
Parameters
- labels
- Type: array<
System..::.String
>[]()[]
A String[] containing the axis labels.
- type
- Type: System..::.Int32
An int which specifies the "BoxPlotType" attribute value.
Remarks
This turns off the tick marks and sets the "BoxPlotType" attribute. It also turns off autoscaling for the axis and sets its "Window", "Number" and "Ticks" attributes as appropriate for a labeled Box plot.
The number of labels must equal the number of items.
Legal values for type are BOXPLOT_TYPE_VERTICAL or BOXPLOT_TYPE_HORIZONTAL. This determines the axis to be modified.