private Bitmap ChartCaptur(TChart tchart, int width, int height = -1) { tchart.Graphics3D.UseBuffer = false; Rectangle rect = new Rectangle(0, 0, tchart.Width, tchart.Height); Bitmap screenshot = new Bitmap(rect.Width, rect.Height, PixelFormat.Format64bppArgb); tchart.DrawToBitmap(screenshot, rect); return(ResizeBitmap(screenshot, width, height)); }