Performance with many annotations

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

Performance with many annotations

Post by Igor » Mon Feb 29, 2016 1:17 pm

Hi,

i would like to show some annotations in my chart, but if I do that the performance decreases strongly and the GPU load rising rapidly.
Is there anything I can do to improve the Performance? I've already disabled the AntiAliasing for arrow and border.
Performance_With_Many_Annotations.png
Performance_With_Many_Annotations.png (53.81 KiB) Viewed 11515 times
thank you very much

Igor

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

Re: Performance with many annotations

Post by Igor » Mon Feb 29, 2016 1:36 pm

I use a nVidia Geforce 210 and the GPU-Load is by 90%.
In this case my application is barely usable.

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

Re: Performance with many annotations

Post by ArctionPasi » Mon Feb 29, 2016 8:17 pm

Hello,

I tested with 100 annotations with my 6 years old laptop with Radeon HD 4300 M. It was barely usable. Desktop Radeon HD 6700 goes over 1000 annotations and still it's well usable.

Geforce 210 is in same performance level than my laptop's 4300 according to http://www.videocardbenchmark.net/gpu_list.php.

Annotations are versatile but complex objects, and they have fill made with GPU-side stencil. Making that stencil takes a lot of time when analyzing performance profiler results.

By setting annotation.LayerGrouping = true will help a little bit in text rendering because it batches all the texts in one layer and that layer is rendered over the graphic shapes of annotations.

Replacing the annotations with markers will give a great performance gain. Annotations have their limitations, but at least you can think of it. Clicking a marker would open an annotation with details, perhaps?

Or replace the GPU... :freak:
LightningChart Support Team, PT

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

Re: Performance with many annotations

Post by Igor » Fri Mar 04, 2016 9:03 am

It could be that our customers have installed this graphics card in the worst case, but that will probably be the exception.

I have noticed that many lineSeries and data points may cause that minimize and maximize of the form works not well anymore.
In worst case I couldn't maximize the form anymore.
Unfortunately I couldn't reproduce the issue in a sample application.
Do you have heard about something like this?

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

Re: Performance with many annotations

Post by ArctionPasi » Fri Mar 04, 2016 6:49 pm

You have PointsVisible = true in your series? How many points? Have you defines chart.SizeChanged or chart.Resize event handler, and doing chart updating there? If you do, remember to use chart.BeginUpdate() ... chart.EndUpdate() around your code to prevent extra refreshes.
LightningChart Support Team, PT

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

Re: Performance with many annotations

Post by Igor » Tue Apr 19, 2016 5:37 am

I have noticed that many lineSeries and data points may cause that minimize and maximize of the form works not well anymore.
In worst case I couldn't maximize the form anymore.
Unfortunately I couldn't reproduce the issue in a sample application.
Do you have heard about something like this?
Igor

Posts: 34
Joined: Mon Sep 28, 2015 1:14 pm
Upgrade from V6.5.6 to V7.0.2 solved this issue :-)

Post Reply