Zoom a specific part of the axis range by specifying the center (in chart values, not pixel values) and zoom magnification amount. The Zoom method changes the ZoomMinimum and ZoomMaximum properties to zoom the axis into that visual portion of the range. It allows you to change the portion of the axis that is being visually displayed.
The overloaded Zoom method zooms the axis using chart values. The ZoomPixelArea method zooms the axis using canvas rectangle values instead of chart values.
Namespace: FMX.RS.ChartPanel
Delphi |
public |
Parameters
Center
Type: TRSChartValueType
ZoomAmount
Type: Single
The following example shows how to zoom and pan within the axis:
|