We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to save chart without rendering it?

Suppose I have an ObservableCollection<DataPoint> full of DataPoints defined as

public class DataPoint()
{
public DateTime Timestamp { get; set; }
public int X { get; set; }
public int Y { get; set; }
public int Z {get; set; }

public DataPoint()
{
Timestamp = new DateTime();
X = new int();
Y = new int();
Z = new int();
}
}

I am plotting X, Y, and Z individually on the same chart by dynamically changing the chart series's YBindingPath. XBindingPath is always Timestamp. I want export all three series X, Y, and Z as individual images, however, I'd like to do this without rendering each series. I only need to look at X. Is this possible?

1 Reply

SR Samuel Rajadurai Edwin Rajamanickam Syncfusion Team January 28, 2019 05:59 AM UTC

Hi Ben, 
  
Greetings from syncfusion, 
  
We have validated your requirement and we would like to inform in UWP there is a framework level limitation in getting the stream. You need to add the chart in the view in order to convert that as an image stream. To know more about this, please refer the below link.  
  
  
Regards, 
Samuel 


Loader.
Live Chat Icon For mobile
Up arrow icon