Home forums Using CanvasJS Chart doesnt scale while printing

This topic contains 8 replies, has 6 voices, and was last updated by  Sanjoy 1 year, 9 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #16058


    I wish to print a chart made in canvasjs but it gets cut out from the right side while printing. Is there anyway chart could automatically fit in the paper while printing like the rest of the HTML elements.

    I referred this answer. But it is more of a workaround and I am facing issue in chrome as well.

    A permanent solution would be helpful.

    Ravneet Singh


    Any response to the query guys..?



    Sorry, about the late response. We are looking into the issue and will get back at the earliest.

    Bivek Singh,
    Team CanvasJS


    I am planning to use offset printing, is this possible?




    You can set the width and height of the chart as per your required printing dimensions in pixels and that should work fine.

    Suyash Singh
    Team CanvasJS




    Not scale graph while print, if we set width and height… Please correct the issue as soon as possible..


    if we set width more than 800px, graph cropped from the right side..



    Setting the scale option to 100 in browser print dialog panel should work fine in your case. Please refer this article to enable scaling in chrome.

    Sanjoy Debnath
    Team CanvasJS

    • This reply was modified 1 year, 9 months ago by  Sanjoy.
    • This reply was modified 1 year, 9 months ago by  Sanjoy.
Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.