<?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: How can I port the WPF labeled pie chart to Silverlight?</title>
	<atom:link href="http://bea.stollnitz.com/blog/?feed=rss2&#038;p=366" rel="self" type="application/rss+xml" />
	<link>http://bea.stollnitz.com/blog/?p=366</link>
	<description>on Silverlight and WPF</description>
	<lastBuildDate>Mon, 02 Aug 2010 17:57:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-197058</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Thu, 01 Apr 2010 16:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-197058</guid>
		<description>Hi Saju,

Good timing for that question. I have the code written and will be showing it on my next blog post, in a few days. So stay tuned.

Bea</description>
		<content:encoded><![CDATA[<p>Hi Saju,</p>
<p>Good timing for that question. I have the code written and will be showing it on my next blog post, in a few days. So stay tuned.</p>
<p>Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saju</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-196989</link>
		<dc:creator>Saju</dc:creator>
		<pubDate>Thu, 01 Apr 2010 05:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-196989</guid>
		<description>Hi Bea,

Please let us know if you have the updated version of LabeledPieChart for Nov09 release of DataVisualization Toolkit.

Regards,
-Saju</description>
		<content:encoded><![CDATA[<p>Hi Bea,</p>
<p>Please let us know if you have the updated version of LabeledPieChart for Nov09 release of DataVisualization Toolkit.</p>
<p>Regards,<br />
-Saju</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-193282</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Wed, 10 Mar 2010 05:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-193282</guid>
		<description>Hi Anil,

I am using a simple algorithm to place the labels - they simply get placed in the middle point of that arc. So, no, I don&#039;t have a solution implemented that improves the scenario you describe. 

It wouldn&#039;t be that hard to extend the code in this blog post to do that though. If you decide to do so, please post the link to it here so that others can benefit from your work.

Thanks!
Bea</description>
		<content:encoded><![CDATA[<p>Hi Anil,</p>
<p>I am using a simple algorithm to place the labels &#8211; they simply get placed in the middle point of that arc. So, no, I don&#8217;t have a solution implemented that improves the scenario you describe. </p>
<p>It wouldn&#8217;t be that hard to extend the code in this blog post to do that though. If you decide to do so, please post the link to it here so that others can benefit from your work.</p>
<p>Thanks!<br />
Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-190154</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Mon, 22 Feb 2010 10:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-190154</guid>
		<description>Hi,

There is problem in implementing the labeling  suppose i have three values 95% , 2.5% and 2.5% when labele is generated, for last two value they are overlapped.So there is no clear visibility. I am using LabelDisplayMode=&quot;Connected&quot; 

Is there is any solution for this is yes please suggest.

Thanks
Anil Kumar</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>There is problem in implementing the labeling  suppose i have three values 95% , 2.5% and 2.5% when labele is generated, for last two value they are overlapped.So there is no clear visibility. I am using LabelDisplayMode=&#8221;Connected&#8221; </p>
<p>Is there is any solution for this is yes please suggest.</p>
<p>Thanks<br />
Anil Kumar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-170150</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Fri, 20 Nov 2009 02:05:55 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-170150</guid>
		<description>Hi bp,

Hmm... not sure I understand... the labels are not in the toolkit - that is the point of this post. :)
Any charting feedback that you (and others) leave on my blog, I simply send &lt;a href=&quot;http://blogs.msdn.com/delay/default.aspx&quot; rel=&quot;nofollow&quot;&gt;David&lt;/a&gt; email with the details. You can also leave feedback to David directly on his blog.

Thanks for your comment!
Bea</description>
		<content:encoded><![CDATA[<p>Hi bp,</p>
<p>Hmm&#8230; not sure I understand&#8230; the labels are not in the toolkit &#8211; that is the point of this post. :)<br />
Any charting feedback that you (and others) leave on my blog, I simply send <a href="http://blogs.msdn.com/delay/default.aspx" rel="nofollow">David</a> email with the details. You can also leave feedback to David directly on his blog.</p>
<p>Thanks for your comment!<br />
Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-169955</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Wed, 18 Nov 2009 16:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-169955</guid>
		<description>Hi,

Regarding Template.FindName: GetTemplateChild exists both in WPF and Silverlight, but it&#039;s protected in both technologies, so you can only use it within the code for the derived control. The code I show here is not in the definition for the chart, it&#039;s in some other class where chart is used. FindName in WPF searches for an element within a particular namescope. myControl.Template.FindName searches for an element within the template for the control specified. 

In Silverlight 3, it&#039;s not possible to data bind non-FrameworkElements, and GradientStop is not a FrameworkElement. So that scenario is not supported in Silverlight, whether you use Binding or TemplateBinding. It&#039;s unfortunate that no error message is displayed.
In WPF, you can use Binding on non-FrameworkElements, but not TemplateBinding. You should get an error message if you try to use TemplateBinding in this scenario.

Bea</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Regarding Template.FindName: GetTemplateChild exists both in WPF and Silverlight, but it&#8217;s protected in both technologies, so you can only use it within the code for the derived control. The code I show here is not in the definition for the chart, it&#8217;s in some other class where chart is used. FindName in WPF searches for an element within a particular namescope. myControl.Template.FindName searches for an element within the template for the control specified. </p>
<p>In Silverlight 3, it&#8217;s not possible to data bind non-FrameworkElements, and GradientStop is not a FrameworkElement. So that scenario is not supported in Silverlight, whether you use Binding or TemplateBinding. It&#8217;s unfortunate that no error message is displayed.<br />
In WPF, you can use Binding on non-FrameworkElements, but not TemplateBinding. You should get an error message if you try to use TemplateBinding in this scenario.</p>
<p>Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agaace</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-168925</link>
		<dc:creator>agaace</dc:creator>
		<pubDate>Sat, 07 Nov 2009 02:19:54 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-168925</guid>
		<description>Re: Template.FindName doesn’t exist in Silverlight

I don&#039;t know WPF, so I&#039;m not sure if it&#039;s exactly the same, but in SL there&#039;s a GetTemplateChild method.

// chart inherits from Control
PieChartLabelArea labelArea = chart.GetTemplateChild(&quot;LabelArea_PART&quot;) as PieChartLabelArea;

Thanks for a nice article about the differences and workarounds.

I have another issue in SL that apparently doesn&#039;t exist in WPF: I&#039;m trying to use TemplateBinding with a gradient stop (so bind to just one particulat Color that&#039;s part of the gradient stops collection, instead of entire gradient). It simply does nothing (no error, simply doesn&#039;t work). I was wondering, maybe you&#039;d have a workaround for this?</description>
		<content:encoded><![CDATA[<p>Re: Template.FindName doesn’t exist in Silverlight</p>
<p>I don&#8217;t know WPF, so I&#8217;m not sure if it&#8217;s exactly the same, but in SL there&#8217;s a GetTemplateChild method.</p>
<p>// chart inherits from Control<br />
PieChartLabelArea labelArea = chart.GetTemplateChild(&#8220;LabelArea_PART&#8221;) as PieChartLabelArea;</p>
<p>Thanks for a nice article about the differences and workarounds.</p>
<p>I have another issue in SL that apparently doesn&#8217;t exist in WPF: I&#8217;m trying to use TemplateBinding with a gradient stop (so bind to just one particulat Color that&#8217;s part of the gradient stops collection, instead of entire gradient). It simply does nothing (no error, simply doesn&#8217;t work). I was wondering, maybe you&#8217;d have a workaround for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aitor</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-167483</link>
		<dc:creator>Aitor</dc:creator>
		<pubDate>Thu, 22 Oct 2009 16:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-167483</guid>
		<description>Certainly, the fact that the classes are now unsealed is a very good feature. I&#039;ll be waiting your upgrade. For now I will remain at July Release.

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Certainly, the fact that the classes are now unsealed is a very good feature. I&#8217;ll be waiting your upgrade. For now I will remain at July Release.</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-167159</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Tue, 20 Oct 2009 17:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-167159</guid>
		<description>Hi Aitor,

Yes, I do need to review the project. I am actually planning to make more changes than simply getting it to work again. As you can see in &lt;a href=&quot;http://blogs.msdn.com/delay/archive/2009/10/19/silverlight-and-wpf-data-visualization-classes-unsealed-silverlight-toolkit-october-2009-release-now-available.aspx&quot; rel=&quot;nofollow&quot;&gt;David&#039;s blog&lt;/a&gt;, the Charting classes are now unsealed, so now I can derive from those classes (instead of using a UserControl and a behavior, which is quite cumbersome). 

In the meantime, if you need to get it working soon, you can go through the list of breaking changes listed in David&#039;s blog. My guess is that the only one that will affect the labeled chart is the renaming of StylePalette to Palette.

Bea</description>
		<content:encoded><![CDATA[<p>Hi Aitor,</p>
<p>Yes, I do need to review the project. I am actually planning to make more changes than simply getting it to work again. As you can see in <a href="http://blogs.msdn.com/delay/archive/2009/10/19/silverlight-and-wpf-data-visualization-classes-unsealed-silverlight-toolkit-october-2009-release-now-available.aspx" rel="nofollow">David&#8217;s blog</a>, the Charting classes are now unsealed, so now I can derive from those classes (instead of using a UserControl and a behavior, which is quite cumbersome). </p>
<p>In the meantime, if you need to get it working soon, you can go through the list of breaking changes listed in David&#8217;s blog. My guess is that the only one that will affect the labeled chart is the renaming of StylePalette to Palette.</p>
<p>Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aitor</title>
		<link>http://bea.stollnitz.com/blog/?p=366&#038;cpage=1#comment-167156</link>
		<dc:creator>Aitor</dc:creator>
		<pubDate>Tue, 20 Oct 2009 17:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=366#comment-167156</guid>
		<description>Hello again! Today I say the new release of SL Toolkit, but when I upgraded this, the labelledpiechart stopped working. The error is in the following line:

PieChartLabelStyle=&quot;{StaticResource pieChartLabelStyle}&quot; LabelDisplayMode=&quot;Auto&quot; ItemsSource=&quot;{Binding}&quot;/&gt;

In my project the error is in the property ItemsSource, but when I tried to regenerate your project, the error was in the property LabelDisplayMode.

Can you review the project?
Thanks!</description>
		<content:encoded><![CDATA[<p>Hello again! Today I say the new release of SL Toolkit, but when I upgraded this, the labelledpiechart stopped working. The error is in the following line:</p>
<p>PieChartLabelStyle=&#8221;{StaticResource pieChartLabelStyle}&#8221; LabelDisplayMode=&#8221;Auto&#8221; ItemsSource=&#8221;{Binding}&#8221;/&gt;</p>
<p>In my project the error is in the property ItemsSource, but when I tried to regenerate your project, the error was in the property LabelDisplayMode.</p>
<p>Can you review the project?<br />
Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
