You must be logged in to post your query.
Home › Forums › Chart Support › Native Browser Save image and Copy Image for chart
Hi,
I currently see that when I use browser right click and save image/ copy image for a canvasjs chart, it is just a dot and does not reflect the original chart. Do you have any plans to support this and fix the issue. I do know that Canvasjs supports an explicit exportchart button which can be used to save the chart, but I wanted to see if there is any plan to support native browser Save image by using right click on the chart.
How to reproduce the issue: https://jsfiddle.net/api/post/library/pure/
Right click on the chart and use Save Image as and save it. Open the image. See that the image is just a dot.
Thank you, Kaushik.
@kaushik25,
The chart contains multiple Canvas elements, in which the topmost Canvas element is being exported while saving/copying the image using the browser’s right-click. However, you can create a custom contextual menu and add exportChart method to export the chart as an image using right-click.
Kindly take a look at this JSFiddle for an example on the same.
— Adithya Menon Team CanvasJS
You must be logged in to reply to this topic. Login/Register