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();