Hello,
I've created a LightningChart control in a STA Thread using headless mode, and can get image refresh on Window now by 'AfterRendering'. Then I need implement my own interaction on this 'Image' and push into the LightningChart control I've created in thread. But I can't access it because some thread safe stuff, I tried chart.Dispacher.Invoke(...), but the code doesn't executed. Is there any way I could interactive with LightningChart which is created in another STA Thread with headless mode? How can I access the LightningChart control cross Thread?
I think maybe LightningChart render engine is running on UI thread, so I create another thread for better performance.
How to access LightningChart control in headless mode
Moderator: Queue Moderators
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: How to access LightningChart control in headless mode
Hello,
Please check User's Manual chapter 21. Headless mode and provided demo example. User Manual also cover requirements for Threads.
Hope this helps.
Please check User's Manual chapter 21. Headless mode and provided demo example. User Manual also cover requirements for Threads.
Hope this helps.