IVZTimeLine.Inverse

Syntax

Inverse: Boolean;

Description

The Inverse property determines whether time line is display is direct or reverse.

Comments

If the property is set to true, the timeline is displayed reversely, from the latest period to the earlier one, otherwise – the timeline is displayed directly, from the early period to the latest one.

NOTE. Reverse view of timeline does not impact the data location in the report table.

Example

Executing the example requires that the repository contains an express report with the EXP identifier. The module containing the example should have links to the Express, Metabase and Visualizators system assemblies. The specified procedure should be called from the Main entry point.

Set reverse timeline for map tree:

Sub UserProc;
Var
    Metabase: IMetabase; // Metabase
    EaxAnalyzer: IEaxAnalyzer; // Express report
    TreeMap: IVZTreeMap; // Tree map
    TimeLine: IVZTimeLine; // Time scale
Begin
    // Get metabase object
    Metabase := MetabaseClass.Active;
    // Get express report object
    EaxAnalyzer := Metabase.ItemById("EXP").Edit As IEaxAnalyzer;
    // Get tree map
    TreeMap := EaxAnalyzer.TreeMap.TreeMap;
    // Get tree map timeline
    TimeLine := TreeMap.TimeLine;
    // Set reverse timeline
    TimeLine.Inverse := True;
    //Refresh tree map and save express report
    EaxAnalyzer.TreeMap.Refresh;
    (EaxAnalyzer As IMetabaseObject).Save;
End Sub UserProc;

As a result of example execution, tree map timeline will have reverse view.

 also:

IVZTimeLine