This section includes the following topics:
Pareto graphs (pronounced pa-ray-toe) are single-series bar graphs, with categories ordered according to the size of their data item (largest to smallest). A line above the bars shows the cumulative value of all of the data items to that point. A pareto graphs has two scales—one on the left that shows the actual data values, and one on the right that measures percentages of the total value of the data series.
Pareto graphs are useful for discerning the impact of certain categories of data on a data series, and allow you to see those categories that most (or least) contributed to the entire series.
The example below shows how a Pareto graph works.
Pareto graphs are in the Standard Data Class, but they only graph one data series.
Pareto graphs can be used for:
Prioritizing significant items among a large amount of data
Determining production failure causes
Determining best or worst performance
Identifying most or least important cost properties
To create a Pareto graph with ITXML, use a command similar to the following:
<cit:pareto-graph Name=”graph” type=”pareto”/>
For more information about ITXML, see ITXML in the Corda® 7 Developer Reference.
Pareto graphs support the following formatting options.
Pareto graph data labels are similar to data labels for other graphs. However, since the bars typically indicate a different type of value (e.g., dollars) than the line (percentage), you need to "trick" the Image Template file into displaying a different symbol for the data labels along the line.
For example, with a data label format of $%_VALUE, a data label along the bar displays properly (e.g., $43,000 . However, a data label along the line also include the dollar sign, when it should be displayed as a percentage (e.g., 43% .
To solve this discrepancy, set the global data label string to the desired format for the line data labels (e.g., %_VALUE% . Then use the series data label override to change the data label format of the bars (e.g., $%_VALUE). This provides the correct data label formatting for the Pareto graph line and bars.