IChartSeriePoint.Total

Fore Syntax

Total: Boolean;

Fore.NET Syntax

Total: boolean;

Description

The Total property determines whether a bar is total.

Comments

True. Column is total.

False. Column is not total.

Fore Example

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.

Fore.NET Example

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    Chart: IChart;
    MB: IMetabase;
    Eax: IEaxAnalyzer;
Begin
    
//Connect to repository
    MB := Self.Metabase;
    
//Get express report
    Eax := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
    
//Get chart
    Chart := Eax.Chart As IChart;
    System.Diagnostics.Debug.Write(Eax.Chart.Chart.Series.Item[
0].SeriePoint[3].Total);

End Sub

See also:

IChartSeriePoint