Pareto Control


Show/Hide a Group

A group can be hidden from the drawing of a series. However, the series calculations are still calculated for the group. Exclude the group to not include it in the calculations. The pareto control of the .Net Analytics package is of the following type:

The series class of the pareto chart is:

The group class of a pareto series is:

The following property at the group level is used for showing/hiding the group:

The first step is to include the necessary namespaces for the controls, add a new series, and add new groups.

Hide a Group

Below, we will hide a Pareto group (named pgGroup in the examples below) of a Pareto series (named psSeries in the examples below):

[Visual Basic]
' Hide the group
pgGroup.Show = False

' Another alternative is to hide the ith (2 below) group directly from the series
psSeries(2).Show = False

[Visual C#]
// Hide the group
pgGroup.Show = false;

// Another alternative is to hide the ith (2 below) group directly from the series
psSeries[2].Show = false;

Charts showing before and after the group has been hidden:

Pareto chart with group not hidden Pareto chart with group hidden