Different export results on the first and the second requests
@jszuminski đang làm issue này rồi.
Từ ngày 17/7/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- JavaScript
- Star
- 368
- Fork
- 266
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của highcharts/node-export-server
-
Update Puppeteer to version 25.11.0+ to allow ARM64 linux images to run node-export-serverCó thể đã có người làm @daniatic đã nhận 20 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
highcharts/node-export-server#686 ·
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 66/100
highcharts/node-export-server#690 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
highcharts/node-export-server#680 · 1 bình luận ·
-
How to get a response statusĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
highcharts/node-export-server#679 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
highcharts/node-export-server#678 ·
Tất cả issue của highcharts/node-export-server
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
open-webui/open-webui#33196 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: apple-music area: build-release bug effort: small priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ChristianTabor/Argon#32 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
0️⃣ phase/new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100