<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Exporting Visifire Silverlight Chart as Image</title>
	<atom:link href="http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/</link>
	<description>Fire up your imagination</description>
	<lastBuildDate>Tue, 10 Jan 2012 14:22:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: vivek</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-13657</link>
		<dc:creator>vivek</dc:creator>
		<pubDate>Mon, 10 Oct 2011 07:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-13657</guid>
		<description>Dave,

You must be trying to export the chart with transparent background as Jpg due to which you are getting a black background. Please note that Jpg doesn&#039;t support transparency. You have to set some background color in chart. PNG supports transparency but unfortunately Visifire doesn&#039;t support exporting chart as PNG. If you are working in WPF, then you will be able to save the chart with transparent background as PNG.</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>You must be trying to export the chart with transparent background as Jpg due to which you are getting a black background. Please note that Jpg doesn&#8217;t support transparency. You have to set some background color in chart. PNG supports transparency but unfortunately Visifire doesn&#8217;t support exporting chart as PNG. If you are working in WPF, then you will be able to save the chart with transparent background as PNG.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-13646</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Wed, 05 Oct 2011 08:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-13646</guid>
		<description>hi, im trying to save couple of charts that has transparent background. This solution makes the background black. is there any workaround for this scenario?</description>
		<content:encoded><![CDATA[<p>hi, im trying to save couple of charts that has transparent background. This solution makes the background black. is there any workaround for this scenario?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waqas Habib</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-12191</link>
		<dc:creator>Waqas Habib</dc:creator>
		<pubDate>Mon, 28 Mar 2011 11:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-12191</guid>
		<description>i want to export chart as image, i have done this. My problem is that before showing save dialog, i want to change my chart size dynamically.

For Example

onClick
{
  chart.height=500;
  chart.width=800;
  
//  show save dialog
}

This save the chart with old size, not with the changed size.</description>
		<content:encoded><![CDATA[<p>i want to export chart as image, i have done this. My problem is that before showing save dialog, i want to change my chart size dynamically.</p>
<p>For Example</p>
<p>onClick<br />
{<br />
  chart.height=500;<br />
  chart.width=800;</p>
<p>//  show save dialog<br />
}</p>
<p>This save the chart with old size, not with the changed size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivek</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-9034</link>
		<dc:creator>vivek</dc:creator>
		<pubDate>Thu, 15 Jul 2010 04:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-9034</guid>
		<description>Hi Dipti,

Please checkout the following links.

http://forums.silverlight.net/forums/p/190369/438871.aspx
http://forums.silverlight.net/forums/t/5774.aspx
http://forums.silverlight.net/forums/p/83989/195479.aspx
http://forums.silverlight.net/forums/p/180353/406915.aspx</description>
		<content:encoded><![CDATA[<p>Hi Dipti,</p>
<p>Please checkout the following links.</p>
<p><a href="http://forums.silverlight.net/forums/p/190369/438871.aspx" rel="nofollow">http://forums.silverlight.net/forums/p/190369/438871.aspx</a><br />
<a href="http://forums.silverlight.net/forums/t/5774.aspx" rel="nofollow">http://forums.silverlight.net/forums/t/5774.aspx</a><br />
<a href="http://forums.silverlight.net/forums/p/83989/195479.aspx" rel="nofollow">http://forums.silverlight.net/forums/p/83989/195479.aspx</a><br />
<a href="http://forums.silverlight.net/forums/p/180353/406915.aspx" rel="nofollow">http://forums.silverlight.net/forums/p/180353/406915.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dipti Patil</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-9016</link>
		<dc:creator>Dipti Patil</dc:creator>
		<pubDate>Wed, 14 Jul 2010 13:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-9016</guid>
		<description>Hi,

I am using silverlight.
I need to use visifire chart image in pdf file along with other details. [Currently I am creating pdf file in web application in .aspx file]
Is there any way to do this?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using silverlight.<br />
I need to use visifire chart image in pdf file along with other details. [Currently I am creating pdf file in web application in .aspx file]<br />
Is there any way to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivek</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-8676</link>
		<dc:creator>vivek</dc:creator>
		<pubDate>Fri, 02 Jul 2010 05:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-8676</guid>
		<description>Hi,

@Dave, If you are working with Silverlight then you have to export chart using save file dialog only. But if you are working with WPF, then you can export the chart without using save file dialog also. Please follow the documentation sample below:
http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_toImage_using_Managed_Code_in_WPF.htm

@smaran, If you are working with WPF, then you can export the chart without rendering it. Please check out the example present in the documentation below:
http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_as_Image_without_Rendering.htm

Regarding your second query, If you are working with Silverlight then the exported image size will be the same as chart size. But if you are working with WPF, you can save the chart image in a different size than the actual chart size. Please follow the documentation sample below:
http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_toImage_using_Managed_Code_in_WPF.htm

In this sample, you just have to set proper size and dpi values while creating a bitmap as shown below:
RenderTargetBitmap renderBitmap = new RenderTargetBitmap(         (int)surface.Width + 250, (int)surface.Height + 200, 120d, 120d, PixelFormats.Pbgra32);</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>@Dave, If you are working with Silverlight then you have to export chart using save file dialog only. But if you are working with WPF, then you can export the chart without using save file dialog also. Please follow the documentation sample below:<br />
<a href="http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_toImage_using_Managed_Code_in_WPF.htm" rel="nofollow">http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_toImage_using_Managed_Code_in_WPF.htm</a></p>
<p>@smaran, If you are working with WPF, then you can export the chart without rendering it. Please check out the example present in the documentation below:<br />
<a href="http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_as_Image_without_Rendering.htm" rel="nofollow">http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_as_Image_without_Rendering.htm</a></p>
<p>Regarding your second query, If you are working with Silverlight then the exported image size will be the same as chart size. But if you are working with WPF, you can save the chart image in a different size than the actual chart size. Please follow the documentation sample below:<br />
<a href="http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_toImage_using_Managed_Code_in_WPF.htm" rel="nofollow">http://www.visifire.com/documentation/Visifire_Documentation/Common_Tasks/Exporting_Chart_toImage_using_Managed_Code_in_WPF.htm</a></p>
<p>In this sample, you just have to set proper size and dpi values while creating a bitmap as shown below:<br />
RenderTargetBitmap renderBitmap = new RenderTargetBitmap(         (int)surface.Width + 250, (int)surface.Height + 200, 120d, 120d, PixelFormats.Pbgra32);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smaran</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-8662</link>
		<dc:creator>smaran</dc:creator>
		<pubDate>Thu, 01 Jul 2010 15:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-8662</guid>
		<description>How can i export the chart to a different size than it is visible on the page.

1.Always only the chart rendered can be exported.I am not able to export a chart created in managed code.

2.If the chart is made resizeable to screen then the exported image also changes. Not able to set size of chart.</description>
		<content:encoded><![CDATA[<p>How can i export the chart to a different size than it is visible on the page.</p>
<p>1.Always only the chart rendered can be exported.I am not able to export a chart created in managed code.</p>
<p>2.If the chart is made resizeable to screen then the exported image also changes. Not able to set size of chart.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-8237</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 08 Jun 2010 13:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-8237</guid>
		<description>Is it possible to use the Export function without prompting the user (the save file dialog). Id like to be able to then take that image and import to PPT slide without prompt.</description>
		<content:encoded><![CDATA[<p>Is it possible to use the Export function without prompting the user (the save file dialog). Id like to be able to then take that image and import to PPT slide without prompt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grafikexport von VisiFire Charts mit Silverlight 3 &#171; WebJagger&#8217;s Blog</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-7762</link>
		<dc:creator>Grafikexport von VisiFire Charts mit Silverlight 3 &#171; WebJagger&#8217;s Blog</dc:creator>
		<pubDate>Mon, 10 May 2010 13:27:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-7762</guid>
		<description>[...] von VisiFire Charts mit Silverlight&#160;3 Von webjagger  Das Beispiel aus dem VisiFire Forum funktioniert, wenn man&#8217;s nun noch so hinbiegen könnte, dass man die Images nicht auf dem [...]</description>
		<content:encoded><![CDATA[<p>[...] von VisiFire Charts mit Silverlight&nbsp;3 Von webjagger  Das Beispiel aus dem VisiFire Forum funktioniert, wenn man&#8217;s nun noch so hinbiegen könnte, dass man die Images nicht auf dem [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: STeven McWhorter</title>
		<link>http://www.visifire.com/blog/2009/11/12/exporting-visifire-silverlight-chart-as-image/comment-page-1/#comment-4731</link>
		<dc:creator>STeven McWhorter</dc:creator>
		<pubDate>Tue, 05 Jan 2010 15:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.visifire.com/blog/?p=546#comment-4731</guid>
		<description>All,

You can export an image in a standard ASP.NET project if you make your own SilverLight control and pass in the VisiFire XAML through JavaScript and deserialize the XAML into a chart object within the Silverlight control. Once you have the Chart rendered, you can follow the steps in the blog post to export the image.

So you have two Silverlight controls on your ASP.NET form. One is VisiFire&#039;s and the other is yours. Its basically the same as how the VisiFire works. 

Thanks,
Steven McWhorter</description>
		<content:encoded><![CDATA[<p>All,</p>
<p>You can export an image in a standard ASP.NET project if you make your own SilverLight control and pass in the VisiFire XAML through JavaScript and deserialize the XAML into a chart object within the Silverlight control. Once you have the Chart rendered, you can follow the steps in the blog post to export the image.</p>
<p>So you have two Silverlight controls on your ASP.NET form. One is VisiFire&#8217;s and the other is yours. Its basically the same as how the VisiFire works. </p>
<p>Thanks,<br />
Steven McWhorter</p>
]]></content:encoded>
	</item>
</channel>
</rss>

