IVZMapChartVisualElement.ToolTipStyle

Syntax

ToolTipStyle: IVZToolTipStyle;

Description

The ToolTipStyle property determines tooltip style of additional visualizer on the map.

Comments

Additional visualizers on the map:

Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier containing a map with pie indicators.

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

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Map: IVZMapChart;
    Layer: IVZMapChartLayer;
    Pie: IVZMapChartVisualElement;
    ToolTip: IVZTooltipStyle;
    Color: IGxColor;
    Brush: IGxBrush;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get map
    Map := Express.MapChart.MapChart;
    // Get map layer
    Layer := Map.RootLayer.SubLayers.Item(0);
    // Get pie indicator
    Pie := Layer.Pies.Item(0As IVZMapChartVisualElement;
    // Get, change tooltip background and apply it to pie indicator
    ToolTip := Layer.ItemsToolTipStyle;
    Color := New GxColor.CreateRGB(1200120);
    Brush := New GxSolidBrush.Create(Color);
    ToolTip.Background := Brush;
    Pie.ToolTipStyle := ToolTip;
    // Refresh and save report
    Express.RefreshAll;
    (Express As IMetabaseObject).Save;
End Sub UserProc;

After executing the example tooltip background of pie indicators is changed.

See also:

IVZMapChartVisualElement