IChartHint.DisplayBorder

Syntax

DisplayBorder: Boolean;

Description

The DisplayBorder property determines whether chart tooltips have a border.

Comments

Available values:

Example

To execute the example, place on the form two Button, ChartBox and UiErAnalyzer components named BUTTON1, BUTTON2, CHARTBOX1 and UIERANALYZER1, respectively. For the ChartBox component set the Source property to UiErAnalyzer1. In the Button1 component set the Text property to Hide Border value, in the Button2 component set the Show Border value. For the UiErAnalyzer component set the Active property to True. There should be an express report specified as the Object property for the UiErAnalyzer component.

Add links to the Chart, Drawing, Express, and Forms system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Chart: IChart;
    Hint: IChartHint;
Begin
    Chart := ChartBox1.Chart;
    Hint := Chart.HintFormat;
    Hint.DisplayBorder:= 
False;
End Sub Button1OnClick;

Sub Button2OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Chart: IChart;
    Hint: IChartHint;
Begin
    Chart := ChartBox1.Chart;
    Hint := Chart.HintFormat;
    Hint.DisplayBorder:= 
True;
End Sub Button2OnClick;

Clicking the Show Border button and pointing to the chart series displays the tooltip border:

Clicking the Hide Border button and pointing to the chart series hides the tooltip border:

See also:

IChartHint