RowsSettings: IPivotParetoSettings;
The RowsSettings property returns 80/20 analysis parameters, set by rows.
Executing the example requires a form with the Button1 button, the UiErAnalyzer component named UiErAnalyzer1 and the TabSheetBox component that is used to display data.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Eax: IEaxAnalyzer;
Pivot: IPivot;
Pareto: IPivotPareto;
RowsSetting: IPivotParetoSettings;
Begin
Eax := UiErAnalyzer1.Instance As IEaxAnalyzer;
Pivot := Eax.Pivot;
Pareto := Pivot.Pareto;
//By rows
RowsSetting := Pareto.RowsSettings;
RowsSetting.ElementIndex := 0;
RowsSetting.Enabled := True;
End Sub Button1OnClick;
Clicking the button by the data of the first row applies 80/20 analysis. The analysis picks minimum values with the sum not greater than 100.
See also: