Is it possible to export a hidden Silverlight Chart to Image?
Posted 13 March 2012 - 01:54 PM
I tried to export a Visifire Radar chart to Image using FJ.Core.dll in Silverlight 5. It is working fine if the chart is placed as a visible element in the UI.
Unfortunately I don't want to show the chart in the exporting window as the window size is very small. So I cant put the chart control as a visible UI element on that window. Is there a way to export the chart image with out showing it on the UI?. The version of Visifire chart is 188.8.131.52 and FJ.Core version is 184.108.40.206
Thanks in advance,
Posted 28 March 2012 - 03:19 PM
It is possible in WPF only. In Silverlight, you have to render the chart first then only you will be able to export it.
Hello! how do I know when chart are rendered fully if now i have 3 or 4 Rendered events for any chart?! I use chart in Win Forms application with ElementHost control.
Posted 29 March 2012 - 05:44 AM
Do you want this information at initial-render or at real-time?
Posted 30 March 2012 - 04:21 AM
Posted 30 March 2012 - 09:17 AM
There is some way to invalidate and then update chart?
You can use Rendered event of chart. It fires when the chart loads the first time and also fires when an element is updated outside PlotArea at real-time.
Posted 02 April 2012 - 04:26 AM
Posted 18 July 2012 - 12:52 PM
Thnx for this! it is helpful!
Please check the following example.
But i have one more question!
If I try to capture image from chart, which in current moment in animation state, i got image on which animation not finished. how can i get image of finished chart? Also i cant disable animation before creating chart. I can disable it only after request of creating chart image.
Posted 19 July 2012 - 04:25 AM
You should export the chart as image once the animation is finished, otherwise you have to disable the animation before exporting.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users