Page 1 of 1

Application slows down, when chart is out of visible area

Posted: Fri Apr 15, 2016 6:24 am
by Igor
Hi,

I have noticed a strange behavior that cause problems in my application.
In my application I have a tab container. In each tab is a chart.
If all tabs are arranged parallel to each other (so content of all tabs is visible) so everything is ok.
But if only one tab is open and all other are in the background the application slows down extremly.

I have built a test project that simply contains 5 charts with fixed size.
In maximized window state the application runs smoothly. If I resize the window so only one chart is visible the application slows down extemly.

If you like I could send you my sample project.

In my performance tests with "dotTrace" I have found that the SharpDX calls require significantly more processing time when some
Charts are out of visible area.

Is aware of the problem?

# Maximzied -> works fine
Timeline_MaximizedWindow_Fluent.png
Timeline_MaximizedWindow_Fluent.png (235.88 KiB) Viewed 9417 times
# Smaller window. Only 1 Chart is Visible the others are out of visible are. Application runs very slow!
Timeline_Small Window_NotFluent.png
Timeline_Small Window_NotFluent.png (230.44 KiB) Viewed 9417 times
Max_vs_Small_window.jpg
Max_vs_Small_window.jpg (198.44 KiB) Viewed 9417 times

Re: Application slows down, when chart is out of visible are

Posted: Fri Apr 15, 2016 7:31 am
by ArctionPasi
Hello :-)

I believe the charts overall rendering area is just very large. Tab count * window size. When putting the charts side-by-side in one window, the overall rendering area is 1 * window size. The charts in the tabs are still being rendered in the background, even if they are not visible.

Please send the project to our support by e-mail, and we'll check if there's something obvious. Also please tell your computer specs: CPU and GPU type.

Re: Application slows down, when chart is out of visible are

Posted: Fri Apr 15, 2016 9:54 am
by Igor
ok I've sent an email to your support.

My specs:
Intel Core i7-4910MQ
NVIDIA Quadro K2100M
LC-Chart Ver. 6.5.6

Re: Application slows down, when chart is out of visible are

Posted: Mon Apr 18, 2016 10:54 am
by ArctionPasi
Hello Igor,

Thanks for sending the app.

v.6 has limitation, it slows down when chart is not on screen. DirectX Present calls start to take very long.

v.7 instead works well also in this scenario. Please update to v.7.

Re: Application slows down, when chart is out of visible are

Posted: Mon Apr 18, 2016 1:08 pm
by Igor
yup, I've updated to V 7.0.2.
Thanks