Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSCustomChartPanel.Zoom(TRSRect,Boolean,Boolean) Method

Scroll Prev Top Next More

Zooms the chart panel to the desired rectangle. Usually, it 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. The Zoom method accepts a chart value coordinate rectangle and zooms the visual window to that rectangle.

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

The Zoom method uses the TRSChartAxis.Zoom method to change the ZoomMinimum and ZoomMaximum properties of the specified horizontal and vertical axes.
 

Namespace: FMX.RS.ChartPanel

Parameters

ChartRect

Type: TRSRect

UseBottomAxis

Type: Boolean

UseLeftAxis

Type: Boolean

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb