Total: Boolean;
The Total property determines whether a bar is total.
True. Column is total.
False. Column is not total.
Executing the example requires an express report with the EXPRESS_REPORT identifier and the Button component with the Button1 identifier on the form.
Add links to the Express and Metabase system assemblies.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Chart: IChart;
MB: IMetabase;
Eax: IEaxAnalyzer;
Begin
//Connect to repository
MB := MetabaseClass.Active;
//Get express report
Eax := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
//Get chart
Chart := Eax.Chart As IChart;
//Get whether column is total
Debug.Write(Eax.Chart.Chart.Series.Item(0).SeriePoint(3).Total);
End Sub Button1OnClick;
After executing the example, after the button is clicked, the console displays whether the column with the 3 index is total.
See also: