Home forums Using CanvasJS Chart doesnt scale while printing

This topic contains 8 replies, has 6 voices, and was last updated by  Sanjoy 6 days, 11 hours ago.

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

    Ravneet03
    Member

    Hi,

    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.
    https://canvasjs.com/forums/topic/graph-doesnt-scale-when-printing/

    A permanent solution would be helpful.

    Thanks,
    Ravneet Singh

    #16085

    Ravneet03
    Member

    Any response to the query guys..?

    #16101

    Bivek Singh
    Participant

    @ravneet03

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

    —-
    Bivek Singh,
    Team CanvasJS

    #19318

    gerwinpierce
    Member

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

    ______
    Gerwin
    /http://www.digitekprinting.com/

    #19328

    Suyash Singh
    Moderator

    @gerwinpierce,

    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

    #19409

    aksangwan
    Member

    how?

    #19411

    aksangwan
    Member

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

    #19412

    aksangwan
    Member

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

    #19624

    Sanjoy
    Moderator

    @aksangwan

    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 6 days, 11 hours ago by  Sanjoy.
    • This reply was modified 6 days, 11 hours ago by  Sanjoy.
Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.