Stream quickly on background thread

I need to fake a chart updating as a video feed, and the API I'm using for this will accept a Bitmap as a frame.  Using the `.Save()` command, unfortunately, must be done on the UI thread (unacceptable) and takes more than a second to complete (also unacceptable).  The graph, when displayed using WPF binding, is acceptably performant, so there must be something else that can be done to improve this...?

1 Reply

DS Durgadevi Selvaraj Syncfusion Team February 24, 2018 01:34 PM UTC

Hi Ryan, 
  
Thanks for contacting Syncfusion Support. 
  
You need to call Measure() and arrange() method of chart manually before saving. If it is done then you can save the chart even if it is not in the UI. Moreover, we have verified in our side it is not taking more than a second.  
We have attached a sample for your reference and it can be downloaded from the below link, 
Sample:Save_Chart
 
  
Please check the above sample and let us know if you still face any problem with this. 
  
Regards,  
Durgadevi S 


Loader.
Up arrow icon