IEaxBubbleTree.BubbleTree

Fore Syntax

BubbleTree: IVZBubbleTree;

Fore.NET Syntax

BubbleTree: Prognoz.Platform.Interop.Visualizators.VZBubbleTree;

Description

The BubbleTree property returns object containing parameters of bubble tree displaying in the express report.

Comments

Bubble tree is a method of displaying hierarchical data as a set of interrelated bubbles. Each hierarchy branch has its own bubble, which is related with the bubbles that are elements of the same level of hierarchy. All elements in the same branch and on the same level form a circle, the centre of which is a parent element of hierarchy. Each bubble diameter is proportional to the value of the corresponding hierarchy element. Bubble color is also determined by hierarchy element's value.

Fore Example

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

Add links to the Express, Metabase, Visualizators system assemblies.

Sub UserProc;
Var
    Metabase: IMetabase;
    EaxAnalyzer: IEaxAnalyzer;
    BT: IEaxBubbleTree;
    Bubtree: IVZBubbleTree;
Begin
    // Get repository
    Metabase := MetabaseClass.Active;
    // Get express report
    EaxAnalyzer := Metabase.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
    // Get bubble tree
    BT := EaxAnalyzer.BubbleTree;
    // Get object containing parameters of bubble tree display parameters
    Bubtree := BT.BubbleTree;
    // Set elements  left alignment
    Bubtree.Alignment := VisualizatorBubbleTreeAlignment.Left;
    // Save changes in report
    (EaxAnalyzer As IMetabaseObject).Save;
End Sub UserProc;

After executing the example left alignment will be set for bubble tree elements.

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.Visualizators;


Public Shared Sub Main(Params: StartParams);
Var
    Metabase: IMetabase;
    EaxAnalyzer: IEaxAnalyzer;
    BT: IEaxBubbleTree;
    Bubtree: IVZBubbleTree;
Begin
    // Get repository
    Metabase := Params.Metabase;
    // Get express report
    EaxAnalyzer := Metabase.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
    // Get bubble tree
    BT := EaxAnalyzer.BubbleTree;
    // Get object containing parameters of bubble tree display parameters
    Bubtree := BT.BubbleTree;
    // Set elements  left alignment
    Bubtree.Alignment := VisualizatorBubbleTreeAlignment.btaLeft;
    // Save changes in report
    (EaxAnalyzer As IMetabaseObject).Save();
End Sub;

See also:

IEaxBubbleTree