Hi,
I have used the following code to copy a chart from an excel sheet and save it as an image.
Workbook wb1 = new Workbook();
Chart chart;
System.Drawing.Bitmap bmp;
wb1.Open(@"C:\Test.xls");
chart = wb1.Worksheets[1].Charts[0];
chart.NSeries[2].HasUpDownBars = true;
bmp = chart.ToImage();
bmp.Save(@"C:\Test.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
But the image seems to be dropping the the excel bars.
I have attached the excel sheet and the image file for your reference.
I need to get around this problem ASAP.
Please Help.
Thanks
Swapna