We are using Visifire v4.5.3 for WPF. We have a chart with a total of 5 line series. Each line series contains roughly 700 points. If we use a QuickLine series, the chart renders in approximately 1 second. If we use a Line series, the chart renders in roughly 50 seconds. There will be times we'll need to render this chart as Line series instead of QuickLine series. However, a 50 second render time is unacceptable.
Why would it take 50x longer to render this chart using Line series, and is there anything we can do to improve this performance when using a Line series?
Thanks very much,
Randy
QuickLine Series vs. Line Series - Performance
Started by Randy Minder, Apr 25 2012 01:13 PM
Line Series
6 replies to this topic
#1
Posted 25 April 2012 - 01:13 PM
#2
Posted 26 April 2012 - 04:12 AM
Randy,
As you have 5 series with 700 DataPoints each (3500 DataPoints in total), it should not take more than 2 - 3 sec to draw. Visifire's Line series is capable to render those number of DataPoints within 2 - 3 sec. Can you please tell me how are you adding the DataPoints? It would be helpful if you can provide the sample code for the same.
As you have 5 series with 700 DataPoints each (3500 DataPoints in total), it should not take more than 2 - 3 sec to draw. Visifire's Line series is capable to render those number of DataPoints within 2 - 3 sec. Can you please tell me how are you adding the DataPoints? It would be helpful if you can provide the sample code for the same.
Regards,
Vivek
Team Visifire
#3
Posted 26 April 2012 - 04:28 PM
VIvek - I would be glad to send you my C# and XAML code. How should I do so?
#4
Posted 27 April 2012 - 06:45 AM
You have created a Ticket for the same. we will continue our discussion there.
Regards,
Vivek
Team Visifire
#5
Posted 11 May 2012 - 02:06 PM
I think this issue might be caused by your method for adding datapoints but here are some performance tips for line series 
Quickline doesn't show datapoints as you can see. And if you want to see them, you have to use line chart.
You can increase your performance with:
Regards
Quickline doesn't show datapoints as you can see. And if you want to see them, you have to use line chart.
You can increase your performance with:
<vf:Chart x:Name="MyChart" Bevel="False" LightingEnabled="False" Background="White">
<vf:Chart.Legends>
<vf:Legend ShadowEnabled="False"></vf:Legend>
</vf:Chart.Legends>
<vf:Chart.Titles>
<vf:Title ShadowEnabled="False"></vf:Title>
</vf:Chart.Titles>
<vf:Chart.PlotArea>
<vf:PlotArea ShadowEnabled="False"></vf:PlotArea>
</vf:Chart.PlotArea>
</vf:Chart>
Regards
#6
Posted 25 May 2012 - 12:01 PM
Xelom - Thank you. I actually find out my performance problem. Don't ever try to render a Visifire chart in debug mode. It can take 50x longer to render. 
Thank you for your suggestion. I'm curious though. What is the performance boost of setting the Chart.PlotArea.ShadowEnabled to false versus whatever it is we give up by not using it?
Randy Minder
Thank you for your suggestion. I'm curious though. What is the performance boost of setting the Chart.PlotArea.ShadowEnabled to false versus whatever it is we give up by not using it?
Randy Minder
#7
Posted 28 May 2012 - 04:52 AM
Randy,
Yes performance might degrade while applying shadow to PlotArea as we are using DropShadowEffect. Please check out the following link for more info.
http://blogs.msdn.co...moderation.aspx
Yes performance might degrade while applying shadow to PlotArea as we are using DropShadowEffect. Please check out the following link for more info.
http://blogs.msdn.co...moderation.aspx
Regards,
Vivek
Team Visifire
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











