-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by CarlosC
-
-
-
-
Unfortunate, exporting the chart to a png image is not supported by ChartFX 7 (Windows Forms).
You can try to export the chart to a MemoryStream object and the use an Image object to save the chart as a png image. Use the following code:
MemoryStream memoryStream = new MemoryStream();chrtTool.Export(ChartFX.WinForms.FileFormat.Bitmap, memoryStream);Image image = Bitmap.FromStream(memoryStream);image.Save(string.Concat(AppSetting.ImageGenerationPath(), contractname, ".png"), System.Drawing.Imaging.ImageFormat.Png);memoryStream.Close();
test
in Web Forms
Posted
adsf as asdfas asdfasasdfasdfasdfasdfasdf