IChart.UseAutoVisibleZoomScrollbars

Syntax

UseAutoVisibleZoomScrollbars: Boolean;

Description

The UseAutoVisibleZoomScrollbars property determines whether to display scrollbars for a scaleable chart.

Comments

When the chart is scaled, scrollbars are displayed. If the chart is active, the scrollbars are always displayed on setting the False property value. If the True is set, the scrollbars are displayed only on mouseover on the chart area where the scrollbars are supposed to be.

Example

To execute the example, create a form with a button named Button1 on the form, the ChartBox component and the UiChart component that is a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Chart: IChart;    
Begin
    Chart:= UiChart1.Chart;
    Chart.InteractiveMode := ChartInteractiveMode.Zoom;
    Chart.ZoomMode := ChartZoomMode.AxisXY;
    Chart.UseAutoVisibleZoomScrollbars:= True;
End Sub Button1OnClick;

Clicking the Button1 button displays the scrollbars on the chart.

See also:

IChart