PieChart Sample performance issue

Feb 7, 2011 at 5:45 PM

I noticed the PieChart sample performance is pretty poor in 0.8.8.9 and saw that it was because the ToolTip bind is generating an exception.

The tooltip works with a static string but not a data bound double.  I don't know if tooltip support is incomplete or if the xaml is incorrect.

Coordinator
Feb 7, 2011 at 7:31 PM

Hi,

thanks for noticing that. It was in fact incomplete Xaml. 

The proper one would be : 

				<Geometries:Cylinder Size="5" 
									 TopRadius="20"
									 BottomRadius="20"
									 StartAngle="{Binding StartAngle}" 
									 EndAngle="{Binding EndAngle}" 
									 Spokes="False"
									 Segments="16">
					<Geometries:Cylinder.ToolTip>
						<ToolTip>
							<TextBlock Text="{Binding Value}"/>
						</ToolTip>
					</Geometries:Cylinder.ToolTip>
				</Geometries:Cylinder>