Application slows down, when chart is out of visible area

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

Application slows down, when chart is out of visible area

Post by Igor » Fri Apr 15, 2016 6:24 am

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 9374 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 9374 times
Max_vs_Small_window.jpg
Max_vs_Small_window.jpg (198.44 KiB) Viewed 9374 times

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

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

Post by ArctionPasi » Fri Apr 15, 2016 7:31 am

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.
LightningChart Support Team, PT

Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

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

Post by Igor » Fri Apr 15, 2016 9:54 am

ok I've sent an email to your support.

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

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

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

Post by ArctionPasi » Mon Apr 18, 2016 10:54 am

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.
LightningChart Support Team, PT

Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

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

Post by Igor » Mon Apr 18, 2016 1:08 pm

yup, I've updated to V 7.0.2.
Thanks

Post Reply