This sample demonstrates the ability to build an updateable pie chart with selectable slices. The Geometry for each slice is built using a PathFigure with a PathSegment,Arc. Slices use a custom click function, which sets a stroke and offsets slices as they are selected. Functionality for "selection" and deletion of these slices is similar to the Selectable Fields sample, using some overridden CommandHandler functions. Each slice also has a tooltip showing the text and percentage of votes.

Poll results can be adjusted and the pie chart will automatically update to reflect any changes. This includes deleting selected slices, updating the count using a TextBlock, or using the +/- buttons.