#region Copyright Syncfusion Inc. 2001 - 2020 // Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // applicable laws. #endregion using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace StackingBarChart { /// /// Interaction logic for MainWindow.xaml /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } private void SampleLayoutWindow_Loaded(object sender, RoutedEventArgs e) { //StackingColumnChart1.Save("Revenue_PatientProfitGaugeChart.png"); //StackingColumnChart2.Save("Rx#_PatientProfitGaugeChart.png"); //StackingColumnChart3.Save("RxTrend_PatientProfitGaugeChart.png"); } private void btnOk_Click(object sender, RoutedEventArgs e) { StackingColumnChart1.Save("Revenue_PatientProfitGaugeChart.png"); StackingColumnChart2.Save("Rx#_PatientProfitGaugeChart.png"); StackingColumnChart3.Save("RxTrend_PatientProfitGaugeChart.png"); this.Close(); } } }