IVZDataScale.RoundBias

Syntax

RoundBias: Double;

Description

The RoundBias property determines the value, up to which it is required to round values of line interval borders.

Comments

This property makes the value more readable.

To round interval, it is required that the value specified in this property does not violate values of elements in each interval.

Example

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

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

Sub UserProc;
Var
    Metabase: IMetabase;
    Analyzer: IEaxAnalyzer;
    BubbleTree: IVZBubbleTree;
    ColorLegend: IVZColorLegendBase;
    Scale: IVZDataScale;
Begin
    // Get repository
    Metabase := MetabaseClass.Active;
    // Get express report
    Analyzer := Metabase.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get bubble tree
    BubbleTree := Analyzer.BubbleTree.BubbleTree;
    // Get tree color scale
    ColorLegend := BubbleTree.Legends.Item(0As IVZColorLegendBase;
    // Get color legend scale
    Scale := ColorLegend.Scale;
    // Round scale values
    Scale.RoundBias := 1000;
    // Refresh report and save changes
    Analyzer.RefreshAll;
    (Analyzer As IMetabaseObject).Save;
End Sub UserProc;

After executing the example values of bubble tree color legend borders that are close to 1000 are rounded to this value.

See also:

IVZDataScale