dompdf / dompdf/dompdf

Anyone tried adding raphael generated charts?

Open
#1,569 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
PHP
Stars
11.2k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Hey

Has anyone successfully added raphael generated charts to DOMpdf?
With svg support I managed to render out some charts and the svg images actually work but the tables go all wrong. I'm working with build in code in a customer CMS so don't know how it all works.

Is there a some solution to this? Could there be a possibility to convert the charts to png or something or has anyone managed the it work?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Raphael-generated SVG chart and incorrect table rendering in DOMpdf, using the issue's SVG and customer-CMS context. Trace how DOMpdf handles the SVG image and surrounding table markup; done would require a confirmed rendering solution or a clearly documented limitation and workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.