On Fri, Jan 15, 2010 at 19:59, Andrea Mauri <[email protected]> wrote: > Il 15/01/2010 6.28, Alexander Klenin ha scritto: >>> why if I left click on a TChart the series on that TChart are repainted also >>> if I do not do anything else then click on the chart? >> >> You can set AllowZoom property to false to avoid this. >> > dear alexander, I thought it is related to zoom options. anyway it repaints > the chart also if I just click without zooming the chart (without dragging > the mouse with mouse clicked). so if I just click on the chart, the chart is > not zoomed but repainted as it is.
Ok, try r23468 -- should be better now. > in many cases this is not a problem (quite not visible) but I can see the > chart repainting when I have a lot of points and the marks are visible. I > get the marks querying a db, so when I have a lot of points and a lot of > marks the repainting is quite annoying. Not directly related to your question, but you can try using TListChartSource.CopyFrom procedure to cache data from db chart source (see db demo for an example). -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
