private void ScreenshotButton_Click(object sender, RoutedEventArgs e)
 {
     m_chart.CopyToClipboard(ClipboardImageFormat.Jpg);
 }