I'm having an issue getting a good quality image from the C1WebChart to use on a C1Report.
I am using:
PictureField.Picture =
hdc = g.GetHdc
g.ReleaseHdc(hdc)
g.Dispose()
g = Graphics.FromImage(mf)
g.DrawImage(IMG, 0, 0)
IMG.Dispose()
This seems to work fine for the C1.Win.C1Chart.C1Chart but not for the webchart. Is there a work around for getting a better image out of the chart?
I was actually trying different types of images when I posted this code. I do use EMF but it still doesn't work. The only work around I've found for this problem is by using the Windows Forms version of the chart then creating an ASP version from string to use on the website. Then I store the string in viewstate and use it when a user wants a PDF version. I think the problem is that you can't create a scalable EMF from the web version of the chart.