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
1190
XAMDataChart crashes when using from multiple GUI threads
posted

I have an application that used multiple GUI threads for performance reasons.  I noticed that the XAMDataChart will crash if I load charts on different threads.  It seems to have to do with setting the CrosshairLineStyle on only some of the charts.  I have a application that demonstrates this.  To reproduce launch the application and click the button that says "other".  a window should open (this window is not on the main thread).  Then click the button that says "main".  The app will crash with an error about accessing a resource from the wrong thread.

ChartTest.zip