Sets the plot window into Pareto chart mode and displays the diagram according to the parameters. The parameter DataRange specifies which part of the data container is used for the creation of the diagram. It can assume one of the following values:
hrColumn |
All data points of a single column (specified by ColRow) are fed into the construction of the diagram. |
hrMarkedData |
All marked data are fed into the construction of the diagram. |
The parameter Col specifies the column which is used for calculating the diagram. If DataRange is set to hrMarkedData, Col is ignored. The parameters llx, lly, urx, ury define the range of the axes. llx and lly define the lower left point of the diagram, urx and ury define the upper right point. Setting all four parameters to zero forces an automatic zoom so that the entire plot is visible.
The parameter Caption defines the caption to be displayed in the window ribbon.
The function returns the following error codes:
0 ... everything is OK
-1 ... Col is out of range
-2 ... no marked data
-3 ... the x axis has zero range
-4 ... the y axis has zero range
-5 ... the selected DataRange is not supported
|