chart1.Dock = DockStyle.None; //turn docking off chart1.Width = chart1.Width * 3; chart1.Height = chart1.Height * 3; chart1.ChartAreas[0].Position.Height = 100; chart1.ChartAreas[0].Position.Width = 100; chart1.SaveImage(saveFile.FileName, ChartImageFormat.Jpeg); chart1.Dock = DockStyle.Fill; //turn docking on again
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)