Chart Doesn't Refresh While Explore is Running

Hello,

While My Explore is Running, the Charts don’t Refresh…?

Is it by design and can it be changed to refresh Chart along with Explore…? I’m using RequestTimedRefresh(0.1) in chart but it refresh only momentarily when the Explore pauses for fraction.

Please let me know

Vikas

Did you read the docs for RequestTimedRefresh() ?
http://www.amibroker.com/guide/afl/requesttimedrefresh.html

Windows is not real-time operating system and it does not guarantee any fixed execution/reaction times.

Also from Microsoft
https://msdn.microsoft.com/en-us/library/windows/desktop/ms644902(v=vs.85).aspx

The WM_TIMER message is a low-priority message. The GetMessage and PeekMessage functions post this message only when no other higher-priority messages are in the thread’s message queue.

so for conclusion it will work this way…ie While Explore is Running “No Gurantee” that Chart Will be Refreshed ?

Charts are refreshed automatically when NEW Data arrive. It does NOT need calling RequestTimedRefresh() at all.

RequestTimedRefresh is NOT the tool to refresh the charts “normally” but only
in SPECIAL cases. RequestTimedRefresh(0.1) MUST not be called “everywhere” but ONLY sparingly and ONLY if you have Gfx code that interacts with mouse clicks (or better use RequestMouseMoveRefresh()).

Calling RequestTimedRefresh(0.1) “everywhere” is abuse of the system.

2 posts were split to a new topic: Syncing chart with exploration