Hi,
my software application shows a chart that has 5 barseries each one with 150 bars.
After that when I try to zoom or pan the chart, the rendering is very slow. If I reduce
the number of the bars, for example to 20 bars, the rendering of the chart is very fast.
I also tried to modify the example provided with the libraries in order to show 300 bars
and also there I have the same problem of performance.
To Have a so high number of bars in our application is important for a critical functionality.
So my question is: is there a way to increase the performance of the barseries rendering
when there are a lot of bars?
Thanks in advance.
Kind regards.
Antonio Pinnelli
Poor performance when there are a lot of barseries.
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Poor performance when there are a lot of barseries.
Hi Antonio,
please replace your bar series with LineCollections. One SegmentLine for each bar. They use simplified rendering and is very fast. Would it be a suitable solution?
please replace your bar series with LineCollections. One SegmentLine for each bar. They use simplified rendering and is very fast. Would it be a suitable solution?
LightningChart Support Team, PT
Re: Poor performance when there are a lot of barseries.
Hi,
thank you for quickly response, anyway the suggested solution is not suitable for our goals. First of all linecollection doesn't have label object that is useful to display some aggregated information, then there is not a gradient for color.
Please could you give me any other suggestion?
Kind regards
ap
thank you for quickly response, anyway the suggested solution is not suitable for our goals. First of all linecollection doesn't have label object that is useful to display some aggregated information, then there is not a gradient for color.
Please could you give me any other suggestion?
Kind regards
ap
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Poor performance when there are a lot of barseries.
Understood. Now it gets difficult. Especially text rendering is expensive.
Could you post a screenshot of your current bars (goal), and I'll try to think ways to reduce the rendering time.
Could you post a screenshot of your current bars (goal), and I'll try to think ways to reduce the rendering time.
LightningChart Support Team, PT
Re: Poor performance when there are a lot of barseries.
Hi,
I attached a screenshot of our chart.
Kind regards
ap
I attached a screenshot of our chart.
Kind regards
ap
- Attachments
-
- SurveyChart_ID1_Primary.png (64.72 KiB) Viewed 13962 times
Re: Poor performance when there are a lot of barseries.
Hi Mr. Pasi
Do you have any news for me?
Regards
ap
Do you have any news for me?
Regards
ap
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Poor performance when there are a lot of barseries.
We are working with the optimizations and hopefully can release a new version later today.
LightningChart Support Team, PT
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Poor performance when there are a lot of barseries.
We optimized the bars rendering today in v.6.0.5, related to zoomed views of bars.
Furthermore, you can improve the rendering efficiency by setting:
barSeries.Shadow.Visible = false.
barSeries.LabelStyle.Shadow.Style = Off
Furthermore, you can improve the rendering efficiency by setting:
barSeries.Shadow.Visible = false.
barSeries.LabelStyle.Shadow.Style = Off
LightningChart Support Team, PT
Re: Poor performance when there are a lot of barseries.
Hi,
Thank you very much for your quickly response.
Thank you very much for your quickly response.