Changing the following lines
Code: Select all
'bmp = New Bitmap(chart.Width, chart.Height, PixelFormat.Format32bppArgb)
'g = Graphics.FromImage(bmp)
Code: Select all
g = chart.CreateGraphics
Regards, Jan
Code: Select all
'bmp = New Bitmap(chart.Width, chart.Height, PixelFormat.Format32bppArgb)
'g = Graphics.FromImage(bmp)
Code: Select all
g = chart.CreateGraphics