Home Forums Chart Support function to SAVE and PRINT in canvajs

function to SAVE and PRINT in canvajs

Viewing 4 posts - 1 through 4 (of 4 total)
  • #22452

    I want to ask, the function to save or print the chart. Can I know the code save and print the chart inside the canvasjs.min.js I am using the student license. Actually I just want to learn how to save and print code. If I just use the library, I think I will not learn how to do that.

    Thank you

    #22459

    @adirgapalit,

    Please take a look at this jsfiddle, which shows how to get chart as base64 image. After getting image in base64 format, you can save it as JPG / PNG as briefed in this article.

    Please refer this stackoverflow thread that briefs you how to print canvas. Please take a look at this jsfiddle, for the same.

    __
    Priyanka M S
    Team CanvasJS

    #22463

    Hi,

    Thank you

    According to this picture option save, print in chart

    YOu can see the option save piture and print picture on the right top of chart, right?
    How to get remove the button option on there?

    Thank you

    #22466

    @adirgapalit,

    You can set exportEnabled property to false to remove the export option.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.