C#实现将Chart图表生成JPG图片的方法

      SaveFileDialog savefile= new SaveFileDialog();
            savefile.Filter = "JPEG文件|*.jpg";
            if (savefile.ShowDialog() == DialogResult.OK)
            {
             
                    chart1.SaveImage (savefile.FileName, System.Drawing.Imaging.ImageFormat.Jpeg);
            }

猜你喜欢

转载自www.cnblogs.com/pingg2019/p/10484807.html