Hi Team,
I was going through your documnet described in this blog post here. (Export to PDF in Help for Rad Chart)
Here when a chart we need to export is not in visual tree, we create a new RadChart and add the series mapping to it and export it.
But in my case I'm not using the DefaultView of RadChart, because I need to have a grid inside my chart area. So the modified RadChart I created in Xaml and using the same.
Now what I'm trying to do is I'm assigning the DataSeries to the chart I have in xaml (not creating a new one as in your example), and creating my chart. Now when I try to export it using ExportToImage, it throws an exception of null reference.
Is it not possible to export the chart which I have an updated view in xaml, when its not visible in the UI, by assigning the DataSeries as explained in your example (ex: not visible in visual tree)?
Please reply soon.
Thanks.
I was going through your documnet described in this blog post here. (Export to PDF in Help for Rad Chart)
Here when a chart we need to export is not in visual tree, we create a new RadChart and add the series mapping to it and export it.
But in my case I'm not using the DefaultView of RadChart, because I need to have a grid inside my chart area. So the modified RadChart I created in Xaml and using the same.
Now what I'm trying to do is I'm assigning the DataSeries to the chart I have in xaml (not creating a new one as in your example), and creating my chart. Now when I try to export it using ExportToImage, it throws an exception of null reference.
Is it not possible to export the chart which I have an updated view in xaml, when its not visible in the UI, by assigning the DataSeries as explained in your example (ex: not visible in visual tree)?
Please reply soon.
Thanks.