Different export results on the first and the second requests
@jszuminski is already working on this.
Since Jul 17, 2024.
Assessment
This issue has not been assessed yet.
Description
Expected behaviour
Export images are the same despite how many times I press 'Preview' button
Actual behaviour
Results are different
This is the first run:
This is the second and all following runs (I am just pressing 'Preview' button again)
I cannot reproduce this issue on the official https://export.highcharts.com server.
Reproduction steps
Code used for export (paste it to the Options - Highcharts configuration object box):
{
"chart": {
"type": "gauge"
},
"title": {
"text": "01 test",
"enabled": false
},
"subtitle": {
"text": "some text",
"enabled": false
},
"xAxis": [{
"id": null,
"opposite": false,
"title": {
"text": "Time",
"enabled": false
},
"usePercentFormat": false,
"type": "category",
"categories": ["first category"],
"plotBands": null
}],
"yAxis": [{
"tickLength": 20,
"id": "y0",
"opposite": false,
"title": {
"text": "",
"enabled": true
},
"usePercentFormat": false,
"plotBands": [{
"from": 0,
"to": 99.88244444444445,
"color": "#E0E0E0",
"thickness": 20
}],
"visible": true,
"labels": {
"distance": 25,
"style": {
"fontSize": "14px"
}
},
"min": 0,
"max": 99.88244444444445,
"tickPixelInterval": 72,
"tickPosition": "inside",
"tickColor": "#FFFFFF",
"tickWidth": 2,
"minorTickInterval": 0,
"lineWidth": 0
}],
"series": [{
"name": "test",
"data": [[0, 90.80222222222223]],
"visible": true,
"type": "gauge",
"tooltip": {
"valueSuffix": "%"
},
"dataLabels": {
"enabled": true,
"format": "{y:,.2f}%"
},
"allAreas": false,
"marker": {
"enabled": true
},
"color": null,
"dial": {
"radius": "80%",
"baseWidth": 12,
"baseLength": "0%",
"rearLength": "0%"
},
"pivot": {
"radius": 6
},
"showInLegend": true,
"mappieParentTotal": 0
}],
"credits": {
"text": ""
},
"pane": {
"startAngle": -90,
"endAngle": 89.9,
"center": ["50%", "75%"],
"background": null,
"size": "95%"
}
}
For the container I am using docker with the following setup:
FROM node:lts-alpine
ENV NODE_ENV=production
ENV HIGHCHARTS_VERSION=11.4.6
RUN apk add --no-cache \
chromium \
nss \
freetype \
harfbuzz \
ca-certificates \
ttf-freefont \
nodejs \
yarn \
git
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
USER root
WORKDIR /
RUN git clone https://github.com/highcharts/node-export-server.git && \
chown -R node /node-export-server
WORKDIR /node-export-server
USER node
RUN rm package-lock.json && \
npm install -S moment moment-timezone && \
npm install
USER root
RUN npm link --unsafe-perm
WORKDIR /node-export-server
USER node
WORKDIR /node-export-server
#RUN sed -i "s/flowmap/flowmap','series-on-point/g" lib/schemas/config.js
EXPOSE 7801
ENTRYPOINT highcharts-export-server --enableServer 1 --port 7801 --allowFileResources 1 --allowCodeExecution 1
- 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 3 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
-
`yarn vitest:update` (documented) throws locally; local Cypress scripts target an unserved portOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
rescript-lang/rescript-lang.org#1415 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Deepak3699/Ai_Mentor#244 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
antithesishq/bombadil#361 ·
Maintainers usually reply within 1 day
-
ungroomed
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dequelabs/axe-core#5455 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
DietrichGebert/ponytail#1072 ·
Maintainers usually reply within 3 days