Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
XamDataChart re-rendering issue
posted

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!

Parents
No Data
Reply
  • 34510
    Verified Answer
    Offline posted

    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

Children