GetStreamAsync on im memory chart

Hello,

Is it possible to get GetStreamAsync() on a chart that is not in view?
I need to create chart and get it as stream for custom export without showing it on UI. Is there a way to achieve this?

GetStreamAsync() returns null if chart is not presented on UI


6 Replies

DD Devakumar Dhanapoosanam Syncfusion Team September 29, 2021 06:33 PM UTC

Hi Milos Kajtez, 
 
Greetings from Syncfusion.  
 
Query: Is it possible to get GetStreamAsync() on a chart that is not in view? 
 
Currently we are analyzing the reported query at our end, and we will update you the complete details on or before 1st October 2021. 
 
Meanwhile, please let us know whether you are facing this in UWP platform. 
 
Regards, 
Devakumar D 



MK Milos Kajtez September 30, 2021 04:53 AM UTC

Hello,

Yes this is on UWP.



SM Saravanan Madheswaran Syncfusion Team September 30, 2021 12:19 PM UTC

Hi Milos,

Thanks for the update, we are working on this we will update you the complete validation details in two business days (4th October 2021). We appreciate your patience until then.

Regards,
Saravanan.



DD Devakumar Dhanapoosanam Syncfusion Team October 1, 2021 09:25 AM UTC

Hi Milos, 
 
Thanks for your patience.  
 
We would like to let you know that in UWP that it has a framework level limitation to GetStream without adding it to the view. So, it is not possible in UWP to create the chart in fly as like in Android and iOS, since this is a framework level limitation, we must add it to the view in order to get it. 
 
Please refer the below link.  
 
 
 
 
Regards, 
Devakumar D  



MK Milos Kajtez October 4, 2021 08:21 AM UTC

Is there another way to get SfChart as image bytes on UWP, without showing it to user?



DD Devakumar Dhanapoosanam Syncfusion Team October 4, 2021 12:31 PM UTC

Hi Milos, 
 
We regret to say that there is no way to get stream without adding it in view in UWP platform. We must add the view in UI tree. 
 
Regards, 
Devakumar D 


Loader.
Up arrow icon