IEaxChart.EvaluatedElements

Fore Syntax

EvaluatedElements: EaxChartEvaluatedElements;

Fore.NET Syntax

EvaluatedElements: Prognoz.Platform.Interop.Express.EaxChartEvaluatedElements;

Description

The EvaluatedElements property determines type of calculated elements displayed on a chart.

Comments

By default, the chart displays only actual data of the range that is set in the Range 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.EvaluatedElements := EaxChartEvaluatedElements.Totals;
    MObj.Save;
End Sub UserProc;

After executing the example, displaying of totals is enabled 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;
Imports Prognoz.Platform.Interop.Metabase;

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.EvaluatedElements := EaxChartEvaluatedElements.eceeTotals;
    MObj.Save();
End Sub;

See also:

IEaxChart