Home Forums Chart Support Native Browser Save image and Copy Image for chart

Native Browser Save image and Copy Image for chart

Viewing 2 posts - 1 through 2 (of 2 total)
  • #36756

    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.

    #36779

    @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.

    Chart with custom Context Menu


    Adithya Menon
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.