IMSL C# Numerical Library

ParetoChart Constructor (AxisXY, String[], Int32[], Double, String)

Constructs a Pareto chart showing only the most important bars.

public ParetoChart(
   AxisXY axisBar,
   string[] labels,
   int[] numberDefects,
   double maximumFractionCategoriesPlotted,
   string otherLabel
);

Parameters

axisBar
The AxisXY parent of this node. Its formatting is changed to integer formatting.
labels
A String array which contains the labels for the data values.
numberDefects
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
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
The label of the bar holding total defect count of the categories not plotted.

Exceptions

Exception Type 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

ParetoChart Class | Imsl.Chart2D.QC Namespace | ParetoChart Constructor Overload List