Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7061923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:31:57+00:00 2026-05-28T04:31:57+00:00

I wish to print a chart. I do as follow : var printJob :

  • 0

I wish to print a chart.
I do as follow :

var printJob : PrintJob = new PrintJob();

if ( printJob.start() == false )
    return;

var printOptions : PrintJobOptions = new PrintJobOptions( true );

printJob.addPage( lineChart, null, printOptions );
printJob.send();

but as a result i am receiving only 1 page which containing only some part of the chart.

  • How to scale the whole chart on 1 page, and how to print all of the chart pages when it is not scaled ?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:31:58+00:00Added an answer on May 28, 2026 at 4:31 am

    You only get one page because you add only one page:

    printJob.addPage( lineChart, null, printOptions );
    

    Your chart clip must fit on a page, A4 dimension in pixels should fit in width:559 x height:842.

    You can check the dimensions of your chart clip, when it is bigger then the A4 you can scale it accordingly (don’t forget print margins). To scale a movielclip you can use scaleX or scaleY, but changing the width or height of the container works better for me, because pixel values are easier then calculating the scale.

    You can also create a print template clip, so instead of printing the chart clip immediately you place the charts on a new clip, that way you have more control over the page you are printing. It will also be easier to add more pages to the printjob.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wish to print out double as the following rules : 1) No scietific
I have an app where users select images they wish to print, the print
I'm using a jQueryUI Dialog command to popup a <p> and wish to print
I wish to suppress the default output of the function smbc_opendir() , and print
I wish i could write like >>> print many_lines_message | tail -1 in python
I wish to calculate the time it took for an API to return a
I wish to paint and repaint a JPanel, which may be rotated 90 degrees
I wish to determine the intersection point between a ray and a box. The
I wish to determine if a Point P(x,y,z) is inside a 2D circle in
I wish to render a scene that contains one box and a point light

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.