werner.pamler at freenet.de
Thu Jun 4 22:08:06 CEST 2015
The rectangle enclosing the shown data range is called the LogicalExtent
of the Chart. Therefore, store the LogicalExtent before performing a
zoom in a TDoubleRect (savedExtent := Chart.LogicalExtent), and to go
back you just assign it the other way: Chart.LogicalExtent := savedExtent.
(The unzoomed extent already is available as "Chart.GetFullExtent").
All this is managed by the TChartExtentHistory. Details are explained in
Am 04.06.2015 um 21:35 schrieb Richard Mace:
> Another quick question. How can you, via code, zoom out of a chart,
> effectively back to what it was by default? If that makes sense?
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus