IEaxChart.DisplayTotals

Fore Syntax

DisplayTotals: Boolean;

Fore.NET Syntax

DisplayTotals: boolean;

Description

The DisplayTotals property determines whether calculated elements are to be shown on express report chart.

Comments

The property is outdated, use the IEaxChart.EvaluatedElements property.

Fore Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EChart: IEaxChart;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr := MObj 
As IEaxAnalyzer;
    EChart := Expr.Chart;
    EChart.DisplayTotals := 
False;
    MObj.Save;
End Sub UserProc;

After executing the example, displaying of calculated element is disabled on the express report chart.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Express;

Public Sub  Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EChart: IEaxChart;
Begin
    MB := Params.Metabase;
    MObj := MB.ItemById["EXPRESS_REPORT"].Edit();
    Expr := MObj As IEaxAnalyzer;
    EChart := Expr.Chart;
    EChart.DisplayTotals := False;
    MObj.Save();
End Sub;

See also:

IEaxChart