October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Data visualization

How to Prevent Highcharts from Being Chopped Across PDF Page Breaks

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The fix depends on how the PDF is made. Highcharts chart export, the chart menu’s print command, browser “Print to PDF,” and a server-side renderer use different pagination controls. For a chart-only export, set an explicit exporting.sourceWidth and exporting.sourceHeight that fit the usable page area. For a whole-page PDF, control page breaks in the browser or PDF renderer instead; Highcharts’ printMaxWidth does not control whole-page printing.

Identify the PDF path before changing Highcharts

Reproduce the exact action that creates the damaged file. The same chart can be paginated by several independent layers:

Path What is being paginated Where to fix chopping
Chart export The chart rendered as an image or PDF Export dimensions and the PDF page-placement code
Chart menu → Print chart → Save as PDF A print-oriented chart layout Chart print settings, including printMaxWidth
Browser print of the whole page Your complete HTML document Browser print layout, CSS, and page-break rules
Server-side renderer A server-generated document or PDF The renderer’s viewport, paper size, margins, and pagination

A setting from one row should not be expected to repair a different row. Record the Highcharts version, export modules, PDF library, paper size, orientation, margins, and whether surrounding page content is included.

Make a chart-only export fit one PDF page

Highcharts documents a size priority order for exported charts. The highest-priority values are exporting.sourceWidth and exporting.sourceHeight. If they are absent, explicit chart.width and chart.height are used; next comes the pixel size of the chart container; if none is available, the documented default is 600 × 400 pixels.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Epson EcoTank ET-2800 Wireless Color All-in-One Supertank Printer - Black
  • INNOVATIVE CARTRIDGE-FREE PRINTING — No more dealing with lots of tiny ink cartridges; With this wireless document and photo printer each ink bottle set is equivalent to about 90 individual cartridges²
  • LESS FREQUENT INK REPLACEMENT — Replacement ink bottles don't have to be changed nearly as often as ink cartridges¹; When you choose this combination printer, scanner and copier you can print up to 4,500 pages black/7,500 color³
  • COLOR PRINTING — Up to 2 years of ink in the box4 (and with every replacement ink set) for fewer out-of-ink frustrations
  • ZERO CARTRIDGE WASTE — By using an Epson EcoTank printer you can help reduce the amount of cartridge waste ending up in landfills
  • HOME PRINTER DESIGNED FOR RELIABILITY — The Epson EcoTank ET-2800 All-in-One Supertank Color Printer creates vivid, detailed prints and documents thanks to Micro Piezo Heat-Free Technology; Fire off 10 ISO pages per minute1 to easily finish large jobs

Choose dimensions for the usable page, not the physical sheet. Subtract left and right margins, headers, footers, and any neighboring content. A landscape page may be appropriate for a wide chart, but changing orientation belongs to the PDF layer unless your export path exposes it.

Set an intentional exported size

Highcharts.chart('container', {
  exporting: {
    sourceWidth: 900,
    sourceHeight: 520
  },
  chart: {
    // Optional fallback for on-screen layout
    width: 900,
    height: 520
  },
  title: { text: 'Revenue by quarter' },
  series: [{
    name: 'Revenue',
    data: [12, 18, 16, 24]
  }]
});

Use one source of truth where possible. If a responsive CSS rule changes the container after the chart loads, the explicit source dimensions prevent the export from inheriting an unexpectedly narrow or tall size. Check the generated SVG or export request and verify that the final dimensions are the values you intended.

When scaling is not the right answer

Reducing a chart until it fits can make labels unreadable. If the page contains several charts or explanatory text, export each chart separately and place the outputs deliberately in a PDF layout. If the chart must remain at a fixed readable size, use additional pages rather than forcing it into a smaller rectangle.

Local client-side PDF export: control pages in the PDF layer

Highcharts’ local PDF workflow is opt-in. It requires offline-exporting.js plus the third-party jsPDF and svg2pdf libraries. Highcharts support guidance indicates that extra code can choose a PDF page size and manage multiple pages. That means chart dimensions alone do not guarantee that a page will not split: the code that creates the PDF decides where the SVG is placed and when a new page is added.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Load the Highcharts export and offline-exporting modules, then load compatible jsPDF and svg2pdf versions.
  2. Set sourceWidth/sourceHeight (or chart dimensions) to the intended rendered size.
  3. Define the PDF paper size, orientation, and margins in your jsPDF code.
  4. Before adding the chart, calculate the remaining page height. If the chart will not fit, add a page or export it as a separate PDF.
  5. Open the resulting PDF at 100% and inspect labels, clipping, and page boundaries; browser zoom can hide a placement error.

The commonly cited Highcharts support example was modified on 16 May 2019. Treat it as historical guidance and validate method names and options against the versions installed in your application. Do not copy an old snippet unchanged into a current build.

Rank #2
Sale
Epson EcoTank Photo ET-8550 Wireless Wide-Format All-in-One Tank Printer
  • CARTRIDGE-FREE PRINTING — Print lab-quality photos, graphics and creative projects; Get vibrant colors and sharp text with Epson's high-accuracy printhead and Claria ET Premium 6-color inks
  • INK BOTTLES — Save on photos1 and creative projects with affordable in-house printing; All-in-one printer allows you to print 4" x 6" photos for about 4 cents each vs. 40 cents with traditional ink cartridges1
  • LESS FREQUENT INK REPLACEMENT — Replacement ink bottles don't have to be changed nearly as often as ink cartridges¹; Printer, scanner and copier lets you print up to 6,200 color pages³
  • PRINT FOR LONGER — Up to 2 years of ink in the box² (and with every replacement ink set) for fewer out-of-ink frustrations with this wireless printer
  • ZERO CARTRIDGE WASTE — Epson EcoTank printer helps reduce the amount of cartridge waste ending up in landfills; Cartridge-free printer uses high-yield ink bottles; Each replacement ink bottle set is equivalent to about 100 individual ink cartridges⁴

Chart-menu printing and the limits of printMaxWidth

printMaxWidth is designed for the chart menu’s print action. It resizes an overly wide chart for printing. Highcharts explicitly states that it does not apply when printing the entire web page. If your workflow is browser Print → Save as PDF with the surrounding document included, changing this option will not prevent a page break.

For chart-menu printing, set a value that fits the printable width, then inspect the print preview. For whole-page printing, use the browser’s paper size, scale, margins, and background settings, together with print CSS. Keep the chart in a block that can move as a unit where the browser supports it:

@media print {
  .highchart-card {
    break-inside: avoid;
    page-break-inside: avoid; /* legacy browser name */
  }
}

This CSS is a request to the browser, not a Highcharts guarantee. A block taller than one page cannot be kept intact without overflow or scaling, so reduce its content, choose a larger paper size, or split it intentionally.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Whole-page browser PDFs: diagnose the layout owner

When the PDF includes headings, tables, navigation, or multiple charts, pagination belongs to the browser’s print engine. Check these causes:

  • Chart wider than the printable area: reduce the print viewport or set a print-only width that fits between margins.
  • Chart taller than one page: allow a controlled break before the chart, or render it on its own page.
  • Late font or image loading: wait until fonts, images, and chart animations are complete before invoking print.
  • Transforms and positioned ancestors: test without CSS transforms or absolute positioning; they can produce unexpected print boxes.
  • Headers and footers: disable browser-added headers/footers or account for them in the usable height.

Use print preview at the target paper size rather than judging from the responsive screen. A server renderer may use a different default viewport, font set, and margin model than a desktop browser, so reproduce the production renderer when debugging.

Rank #3
HP Smart Tank 5000 Wireless All-in-One Ink Tank Printer, Scanner, Copier with 2 Years of Ink Included, Best-for-Home, Cartridge-Free, Refillable and AI-Enabled. (5D1B6A)
  • SET IT UP ONCE AND PRINT WITH CONFIDENCE. No complicated maintenance. Just easy, reliable printing you can count on.
  • INK FOR YEARS. NOT MONTHS. Up to 2 years of ink included. Get thousands of pages of cartridge-free printing. More pages, less hassle
  • KEEPS PRINTING WELL AFTER COMPETITORS HAVE QUIT. No complex maintenance. Sharper text, richer colors.[2] Only with HP Smart Tank
  • PREMIUM SUPPORT - Strong technical expertise to solve issues faster
  • THE LAST PRINTER YOU'LL EVER NEED. Enjoy years of refillable, cartridge-free printing.

Server-side rendering and Highcharts’ export server

Highcharts provides a server path that accepts chart configurations or SVG and uses Puppeteer to render PDFs and other formats. This is useful when you need repeatable, server-controlled viewport and paper settings. Configure page size, margins, and page management in that pipeline, and separately evaluate deployment, browser-process limits, and data-handling requirements for your application. A server renderer cannot repair a chart that is already clipped by an incorrectly sized source SVG; validate both the chart dimensions and the PDF page settings.

Legacy PhantomJS output and dpiCorrection

If an older PhantomJS-based converter is still producing the PDF and dimensions do not match the page, Highcharts’ legacy guide suggests investigating dpiCorrection. This is a legacy workaround, not a universal fix for current export paths. First establish that PhantomJS is actually in the pipeline; do not add the option to a modern browser, offline-exporting, or Puppeteer workflow without evidence that it applies.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A practical diagnostic checklist

  1. Name the path: chart export, chart print, whole-page browser print, local PDF code, server renderer, or legacy PhantomJS.
  2. Capture dimensions: log source width/height, chart width/height, container pixels, viewport, paper size, and margins.
  3. Compare usable space: subtract all margins and surrounding content from the page dimensions.
  4. Remove variables: disable animation, wait for fonts/images, and test a single chart with no surrounding CSS.
  5. Apply the owner’s control: export dimensions for chart sizing; PDF code or print CSS for pagination; renderer settings for server output.
  6. Validate the exact versions: Highcharts, offline-exporting, jsPDF, svg2pdf, Puppeteer, and the browser engine.
  7. Test representative charts: wide labels, long legends, data labels, responsive rules, and a chart taller than one page.

Common symptoms, causes, and fixes

Symptom Likely cause Fix
Only the right side is missing Export or print width exceeds usable page width Set source dimensions or print width to fit after margins; use landscape when appropriate.
The chart starts on one page and continues on the next Whole-page or PDF-layer pagination Move the chart as a unit, add a deliberate page break, or export/place it separately.
printMaxWidth changes nothing The workflow prints the whole page Change browser print CSS or the PDF renderer; the option is chart-menu-specific.
Local export fails or produces a blank PDF Missing/incompatible offline-exporting, jsPDF, or svg2pdf dependency Confirm all modules load and verify compatibility against current library documentation.
Server PDF differs from local PDF Different viewport, fonts, margins, or browser engine Configure and test the production renderer rather than relying on desktop preview.
Legacy output has incorrect physical dimensions PhantomJS DPI mismatch Confirm the legacy path, then investigate dpiCorrection; do not generalize it to modern paths.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If your goal is a clean screenshot or PDF of a page containing the chart, ScreenshotNeo can handle the browser session through one request. It accepts consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the result with X-Page-Verdict and X-Billed headers. It also offers an MCP server for AI clients, with take_screenshot, get_page_info, and capture_pdf tools.

For API details and all capture options, see the ScreenshotNeo documentation. A direct WebP request looks like this:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

You can request full-page capture with lazy images, a CSS-selected element, a device or custom viewport, retina scale, PDF paper and margins, custom CSS or JavaScript, waits, blocked resources, headers, cookies, authentication, timezone, geolocation, resizing, caching, signed links, asynchronous jobs, webhooks, bulk capture, and usage data. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Create a free ScreenshotNeo account.

FAQ

Will increasing chart height stop a PDF page break?

No. Height controls the chart’s rendered size. Whether it crosses a page boundary is decided by the print or PDF layout that places that chart.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
NDYIN Portable Printers Wireless for Travel, N80 Bluetooth Thermal Printer
  • Wireless Bluetooth Printer: Portable thermal printer compatible with iPhone, Android phones, iPad and tablet computers via Bluetooth. For smartphones, please download the "Nada Print" App. You can also connect to laptops and computers for printing using a USB-C cable. (Note: Laptops and computers can only be connected via USB and require the installation of a driver first. Bluetooth connection is not supported.)
  • No-ink printing: Only supports US Letter and A4 size thermal paper.(Doesn't support regular paper) The no-ink portable thermal printer uses direct thermal technology, requiring no ink, toner or ribbons, making it environmentally friendly, cost-effective and time-saving. The thermal printer package comes with a roll of US Letter thermal printing paper. Note: When installing the paper, remember to switch the paper size switch on APP
  • Clear Print: NDYIN N80 portable thermal printer adopts high-definition printing technology, with a 203DPI resolution to provide you with clear printing results. This mobile printer is compatible with roll paper, folded paper and tattoo transfer paper, supporting printing from your mobile phone PDF, Word, pictures and web pages anytime and anywhere. It is recommended to use our NDYIN thermal paper to achieve good printing quality
  • Portable wireless printer for travel: The thermal printer is equipped with a built-in 1500mAh rechargeable battery, which can print 160 sheets of 8.5" x 11" thermal paper after being fully charged. It weighs only 1.5 pounds and is compact in size. This ink-free portable printer can be easily carried in a backpack or briefcase! It is perfect for business travel, cars, small offices, construction sites, schools and homes. You can print documents, contracts, invoices and boarding passes anytime and anywhere
  • The N80 thermal printer has a wide range of uses. The package includes the N80 printer, a roll of US Letter paper(7m/roll), a user manual, a guide card, a type-C soft cable and a type C adapter. Note: The charging adapter is not included. Special thermal paper is required for use; ordinary paper cannot be used. This ink-free portable thermal printer is suitable for various scenarios such as home, school, travel, office, and outdoor, meeting the printing needs of different groups of people. This tattoo template printer is also compatible with tattoo transfer paper, making it an ideal choice for tattoo art

Should I always use a fixed 600 × 400 chart?

No. 600 × 400 is the documented fallback when no source, chart, or container dimensions are supplied. Select dimensions from your target page and readability requirements.

Can one CSS rule guarantee an unbroken chart in every browser?

No. break-inside: avoid is advisory, and an element taller than a page cannot physically remain on one page without scaling or overflow.

Frequently Asked Questions

Does Highcharts provide a universal “keep chart together” PDF option?

No. Pagination depends on the export, print, browser, or server PDF path, so the controlling setting is pipeline-specific.

What should I record when reporting a clipping bug?

Include the exact export action, Highcharts and PDF-library versions, paper size, margins, viewport, chart/container dimensions, and a minimal reproducible chart.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Read next

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.