Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCharting > RSChartPanel > Classes > TRSCustomChartPanel > Methods

TRSCustomChartPanel.Zoom(TRSPoint,Single,Single,Boolean,Boolean) Method

Scroll Prev Top Next More

Zooms the chart panel to desired point in chart coordinates. The magnification of the zoom area is specified by the ZoomX and ZoomY parameters, e.g., ZoomX/ZoomY = 2 means 2x magnification. A value less than or equal to 1 unzooms that axis.

Usually, this method zooms the    BottomAxis and the    LeftAxis to change displayed area for charts associated with those axes. Set the UseBottomAxis parameter to False to use the TopAxis and the UseLeftAxis parameter to False to use the    RightAxis.

Use the    ZoomPixelArea method to zoom the visual window by using a pixel coordinate rectangle of the chart panel's canvas. Use the    Zoom method to zoom the visual window by using a chart value coordinate rectangle directly.
 

Namespace: RSChartPanel

Parameters

CenterPoint

Type: TRSPoint

ZoomX

Type: Single

ZoomY

Type: Single

UseBottomAxis

Type: Boolean

UseLeftAxis

Type: Boolean

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb