I have a XamDataChart inside a document tab of a XamDockManager. The data chart displays a lot of data so it takes a long time to render all series, which is what I'm ok with. However, every time I select a different document tab then go back to the document tab with this XamDataChart, it renders everything again (which, in my case, is very time-consuming). Is there any way to prevent this behavior?
Thank you!
Hi Jack,
The cause for this is due to what happens when you select a different tab. It takes the previous tab content out of the visual tree in order to replace it with the new tab content. When you click back on the chart tab it has to place the content back into the tree which causes the controls to re-render. How much data is in your chart? And what kind of series are you using?
I recommend taking a look at the documentation here: http://help.infragistics.com/doc/WPF/2015.1/CLR4.0/?page=DataChart_Chart_Performance.html
Yes, I have read that documentation before and pretty much every discussion thread here regarding the data chart performance.
I just wanted to make sure I did not cause that behavior by mistake.
I'm using version 2012.1, yes there's simply a lot of data. Thank you, Rob. Like I previously said, I'm ok with it.
If you'd like I can investigate the specifics of your scenario to see what exactly is taking so long for it to render. I suspect that it's just the shere amount of data but I actually don't know how many data points you are providing the series nor what series type you are using so I can't be certain. It would also help to know what version of the Infragistics product you are using. (15.1?)