ParetoChart Constructor (AxisXY, String, Int32, Double, String) |
Constructs a Pareto chart showing only the most important bars.
Namespace: Imsl.Chart2D.QCAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public ParetoChart(
AxisXY axisBar,
string[] labels,
int[] numberDefects,
double maximumFractionCategoriesPlotted,
string otherLabel
)
Public Sub New (
axisBar As AxisXY,
labels As String(),
numberDefects As Integer(),
maximumFractionCategoriesPlotted As Double,
otherLabel As String
)
public:
ParetoChart(
AxisXY^ axisBar,
array<String^>^ labels,
array<int>^ numberDefects,
double maximumFractionCategoriesPlotted,
String^ otherLabel
)
new :
axisBar : AxisXY *
labels : string[] *
numberDefects : int[] *
maximumFractionCategoriesPlotted : float *
otherLabel : string -> ParetoChart
Parameters
- axisBar
- Type: Imsl.Chart2DAxisXY
The AxisXY parent of this node.
Its formatting is changed to integer formatting.
- labels
- Type: SystemString
A String array which contains the labels for the data values.
- numberDefects
- Type: SystemInt32
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.
- maximumFractionCategoriesPlotted
- Type: SystemDouble
The maximum cumulative fraction to be represented in separate categories.
The remaining categories are consolidated into
a single bar. A typical value for this argument is 0.80.
This must be at least 0 and no more than 1.
- otherLabel
- Type: SystemString
The label of the bar holding total defect count of the
categories not plotted.
Exceptions Exception | Condition |
---|
ArgumentException | is thrown if the length
of the labels and numberDefects arrays are unequal or
if any element of numberDefects is negative.
|
See Also