Recent

Author Topic: [SOLVED] Increase TAChart drawing performence  (Read 709 times)

wp

  • Hero Member
  • *****
  • Posts: 6235
Re: Increase TAChart drawing performence
« Reply #15 on: September 16, 2019, 12:31:41 pm »
For OpenGL drawing you could also create the chart fully at runtime. Or design it as uaual at designtime, but hide it at the begin of the program. I can try to write an example for that.

But the main problem is: the chart is drawn on a TOpenGLControl. The events go to that control, not to the chart. Therefore the standard zooming/panning/clicking tools will not work.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

mig-31

  • Sr. Member
  • ****
  • Posts: 259
Re: Increase TAChart drawing performence
« Reply #16 on: September 16, 2019, 01:47:45 pm »
I know how to do it, but it will be usefull for others.
Lazarus 2.0.2 - CentOS 7.x, Mageia 7.1