private void Unhighlight(UIElement elt)
{
if (elt is Shape) // PieChart, LineChart
{
(elt as Shape).Fill = origColor;
}
else if (elt is Border) // BarChart, ColumnChart
{
(elt as Border).Background = origColor;
}
highlightedChartPiece = null;
origColor = null;
chartDetailsContent.Content = null;
}