Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCharts > FMX.RS.ChartPanel > Classes > TRSCustomChartPanel > Methods

TRSCustomChartPanel.Pan(Integer,Integer,Boolean,Boolean) Method

Scroll Prev Top Next More

Moves the visual window (or the zoomed window) that the chart panel displays. The zoomed area is not changed. By default, the Pan method uses the    BottomAxis and the    LeftAxis to pan. By changing the UseBottomAxis and UseLeftAxis parameters, you can change which axes are used. The MoveX and MoveY parameters, which is based on pixels, are first converted into the equivalent amounts based on chart axis values.

Specifying a positive MoveX amount moves the zoomed window right and a negative amount moves it left. Specifying a positive MoveY amount moves the zoomed window up and a negative amount moves it down.

Use the overloaded Pan method to move the visual window using chart axis values directly.

noteNote

The Pan method does nothing if no chart axis is zoomed (Zooming = False).

Namespace: FMX.RS.ChartPanel

Parameters

MoveX

Type: Integer

MoveY

Type: Integer

UseBottomAxis

Type: Boolean

UseLeftAxis

Type: Boolean

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb