Page 1 of 1

refresh period of chart

Posted: Fri Sep 11, 2015 9:04 am
by 16573450
dear support,
attached two screen captures which show a behavior that I am having some troubles to fix.
I do have a chart with a customised horizontal axis. I can see that the axis labels overlap. In order to fix this, I have to hover the mouse cursor over the chart.
Is there some option I need to set to solve this issue?
thanks

Re: refresh period of chart

Posted: Mon Sep 14, 2015 10:53 am
by yeray
Hello,

Problems with custom painting that are fixed with some mouse interaction (like hover, zoom or scroll) could indicate that the chart needs to be repainted so the relative references being used in the custom painting routines can give correct results.
I'd suggest you to force a chart repaint after your chart initialization:

Code: Select all

Chart1.Draw;
If you still find problem with it, please don't hesitate to let us know.

Re: refresh period of chart

Posted: Tue Sep 15, 2015 9:37 am
by 16573450
OK, many thanks for the clarification

Re: refresh period of chart

Posted: Wed Oct 14, 2015 10:24 pm
by 16573450
Hi,many thanks for the hint, but It does not help. Is there some other solution I could use here. Because so far, the only solution I came to, is to move the mouse cursor on top of the chart.
Chart.Draw does not help.
thanks.

Re: refresh period of chart

Posted: Thu Oct 15, 2015 8:51 am
by yeray
Hello,
cssesuc wrote:Hi,many thanks for the hint, but It does not help. Is there some other solution I could use here. Because so far, the only solution I came to, is to move the mouse cursor on top of the chart.
Chart.Draw does not help.
thanks.
In that case, we'd more information about why the problem is happening and the easiest way to do that is to get a simple example project reproducing the problem; could you please arrange one?