Repainting
-
- Newbie
- Posts: 29
- Joined: Tue Oct 13, 2015 12:00 am
Repainting
I have developed a Delphi/FMX application in which the underlying chart data is changed programmatically. I have been having huge difficulties in getting the chart to update when the data is changed. Chart1.Repaint and Chart1.CanvasChanged(Self) do not seem to work (or not 100% of the time). What is the certain command to get the chart to adapt to its current data?
Re: Repainting
Hello,
If the values in the series have been updated and you want it to be redrawn, you just have to call:
If you want to force a full repaint, you could call:
If the values in the series have been updated and you want it to be redrawn, you just have to call:
Code: Select all
Series1.Repaint();
Code: Select all
Chart1.Draw;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |