Hi,
There are times in my project where I need to update the chart in more than one way - for example: I may want to update the bottom axis Min and Max values and also the left axis Min and Max values. There is a somewhat noticeable jump in between those due to the chart visually updating after the bottom axis update and then again after the left axis update. Is there any way to have the chart disable updating and then re-enable updating when all current updates are complete?
Thank you.
.
Briefly turn off visual update.
Re: Briefly turn off visual update.
Hello,
Yes, you can turn off/on AutoRepaint property:
Don't forget to force a chart repaint after enabling AutoRepaint or the changes won't take effect.
Yes, you can turn off/on AutoRepaint property:
Code: Select all
Chart1.AutoRepaint:=false;
Chart1.Axes.Bottom.SetMinMax(xmin, xmax);
Chart1.Axes.Left.SetMinMax(ymin, ymax);
Chart1.AutoRepaint:=true;
Chart1.Draw;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |