Here is some sample code in Visual Basic:
Dim imageData As Image = Await ChartJS1.GetImageAsync()
imageData.Save(".\Images\image.png", ImageFormat.Png)
AlertBox.Show("image saved")
I’ve also attached a sample.
Hi Nicholas,
you can use the GetImage or GetImageAsync functions to get the chart as an image:
https://docs.wisej.com/extensions/extensions/chartjs/api/wisej.web.ext.chartjs.chartjs
Best regards
Frank
Please login first to submit.