Jump to content
Software FX Community

CarlosC

Staff
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by CarlosC

  1. CarlosC

    test

    adsf as asdfas asdfasasdfasdfasdfasdfasdf
  2. CarlosC

    test

    sdf asdfsadf asdf asdfa sdfasd fasdfasdfasdf sadf
  3. 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();
×
×
  • Create New...