Text in exported chart is hidden when setting style in chart options
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, node.js
- Domain
- backend
Research direction
Reproduce the issue with the linked JavaScript fiddle, comparing PNG and JPG output with SVG while chart.style.fontSize is set to 1.1em. Trace the export-server rasterization path and verify that chart text is visible in the generated PNG and JPG without breaking SVG export.
Written by the indexing model from the issue text.
Description
I want to report a bug when exporting a chart.
As soon as I start to set fontSize in style options the text is completely missing in the export file.
chart: {
type: 'area',
zooming: {
type: 'x'
},
panning: true,
panKey: 'shift',
scrollablePlotArea: {
minWidth: 600
},
style: {
fontSize: '1.1em'
}
},
I created a fiddle to reproduce the issue:
https://jsfiddle.net/yrsv310n/2/
In browser the chart looks like this:
When exporting as png or jpg it looks like this:
Export in svg format works.
- Dominant language
- JavaScript
- Stars
- 368
- Forks
- 265
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from highcharts/node-export-server
-
Update Puppeteer to version 25.11.0+ to allow ARM64 linux images to run node-export-serverPossibly taken @daniatic claimed this 4 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
highcharts/node-export-server#686 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
highcharts/node-export-server#680 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
highcharts/node-export-server#679 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
highcharts/node-export-server#678 ·
-
Not working on s390xOpen
Difficulty 4/5 3-5 days Newbie friendliness 30/100
highcharts/node-export-server#676 ·
All issues in highcharts/node-export-server
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
processing/p5.sound.js#123 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
PhilflowIO/dav-mcp#146 ·
Maintainers usually reply within 1 day
-
good first issue hacktoberfest
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Tanishq964/trail-kit.#4 ·
-
new icon permissions in review
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
simple-icons/simple-icons#15067 ·
Maintainers usually reply within 1 day
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
mastra-ai/mastra#26562 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day