Constructs a Pareto chart showing only a limited number of bars.
The numberDefects-axis formatting is changed to integer formatting.
Namespace:
Imsl.Chart2D.QC
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public ParetoChart(
AxisXY axisBar,
string[] labels,
int[] numberDefects,
int maximumCategoriesPlotted,
string otherLabel
) |
Visual Basic (Declaration) |
---|
Public Sub New ( _
axisBar As AxisXY, _
labels As String(), _
numberDefects As Integer(), _
maximumCategoriesPlotted As Integer, _
otherLabel As String _
) |
Visual C++ |
---|
public:
ParetoChart(
AxisXY^ axisBar,
array<String^>^ labels,
array<int>^ numberDefects,
int maximumCategoriesPlotted,
String^ otherLabel
) |
Parameters
- axisBar
- Type: Imsl.Chart2D..::.AxisXY
The AxisXY parent of this node.
- labels
- Type: array<
System..::.String
>[]()[]
A String array which contains the labels for the data values.
- numberDefects
- Type: array<
System..::.Int32
>[]()[]
An int array which contains the number of defects.
These data values must be in the same order as the values in labels,
but they do not need to be sorted.
- maximumCategoriesPlotted
- Type: System..::.Int32
The maximum number of categories to be plotted.
Categories with smaller number of defects are consolidated into
a single bar. The total number of bars will be
maximumCategoriesPlotted+1.
This must be at least 0 and no more than the length of
numberDefects.
- otherLabel
- Type: System..::.String
The label of the bar holding total defect count of the categories not plotted.
Exceptions
Exception | Condition |
---|
System..::.ArgumentException | is thrown if the length
of the labels and numberDefects arrays are unequal or
if any element of numberDefects is negative.
|
See Also