refresh period of chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
cssesuc
Newbie
Newbie
Posts: 44
Joined: Wed Apr 08, 2015 12:00 am

refresh period of chart

Post by cssesuc » Fri Sep 11, 2015 9:04 am

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
Attachments
ChartAfter.PNG
ChartAfter.PNG (4.07 KiB) Viewed 8807 times
CaptureChartBad.PNG
CaptureChartBad.PNG (6.09 KiB) Viewed 8783 times
thanks,
Nabil Ghodbane (PhD. Habil)

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: refresh period of chart

Post by Yeray » Mon Sep 14, 2015 10:53 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

cssesuc
Newbie
Newbie
Posts: 44
Joined: Wed Apr 08, 2015 12:00 am

Re: refresh period of chart

Post by cssesuc » Tue Sep 15, 2015 9:37 am

OK, many thanks for the clarification
thanks,
Nabil Ghodbane (PhD. Habil)

cssesuc
Newbie
Newbie
Posts: 44
Joined: Wed Apr 08, 2015 12:00 am

Re: refresh period of chart

Post by cssesuc » Wed Oct 14, 2015 10:24 pm

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.
thanks,
Nabil Ghodbane (PhD. Habil)

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: refresh period of chart

Post by Yeray » Thu Oct 15, 2015 8:51 am

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?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply