Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

v4: Broken solidgauge chart after upgrade to latest version

Đang mở
#582 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, node.js
Lĩnh vực
api, backend

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện yêu cầu curl được cung cấp với highcharts-export-server 3.1.1 và 4.0.2, đồng thời so sánh đầu ra của solidgauge. Truy vết entry point của export-server xử lý yêu cầu và việc render solidgauge; hoàn thành khi phiên bản 4 hiển thị các vòng tròn giá trị có màu thay vì "Values" mà không có lỗi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug only json

Hello,

Since upgrade to v4.0.2, some of my charts generated by highcharts-export-server are broken, especially the solidegauge ones. Instead of displaying the colored circles for the values like in the v3.x version, it shows the word "Values".

I also use polar charts, and no problems with those. I don't know if it's a bug, but I couldn't find in the changelog what can cause this breaking change. No errors are reported in the log.

Any idea what could be causing this? Thanks.

Expected behaviour
npm list highcharts-export-server -g
/usr/local/lib
└── [email protected]
curl -H "Content-Type: application/json" -X POST -d '{"type":"png","infile":{"chart":{"type":"solidgauge","height":"110%"},"credits":{"enabled":false},"title":{"text":""},"yAxis":{"min":0,"max":100,"lineWidth":0,"tickPositions":[]},"pane":{"startAngle":0,"endAngle":360,"background":[{"outerRadius":"105%","innerRadius":"85%","backgroundColor":"rgba(240,148,0,0.3)","borderWidth":0},{"outerRadius":"65%","innerRadius":"50%","backgroundColor":"rgba(39,209,190,0.3)","borderWidth":0}]},"plotOptions":{"solidgauge":{"dataLabels":{"enabled":false},"linecap":"round","stickyTracking":false,"rounded":true}},"series":[{"name":"","data":[{"color":"#f09400","radius":"105%","innerRadius":"85%","y":35}]},{"name":"","data":[{"color":"#27d1be","radius":"65%","innerRadius":"50%","y":77}]}]},"width":150,"height":150}' 127.0.0.1:7801 -o chart.png

chart

Actual behaviour
npm list highcharts-export-server -g
/usr/local/lib
└── [email protected]
curl -H "Content-Type: application/json" -X POST -d '{"type":"png","infile":{"chart":{"type":"solidgauge","height":"110%"},"credits":{"enabled":false},"title":{"text":""},"yAxis":{"min":0,"max":100,"lineWidth":0,"tickPositions":[]},"pane":{"startAngle":0,"endAngle":360,"background":[{"outerRadius":"105%","innerRadius":"85%","backgroundColor":"rgba(240,148,0,0.3)","borderWidth":0},{"outerRadius":"65%","innerRadius":"50%","backgroundColor":"rgba(39,209,190,0.3)","borderWidth":0}]},"plotOptions":{"solidgauge":{"dataLabels":{"enabled":false},"linecap":"round","stickyTracking":false,"rounded":true}},"series":[{"name":"","data":[{"color":"#f09400","radius":"105%","innerRadius":"85%","y":35}]},{"name":"","data":[{"color":"#27d1be","radius":"65%","innerRadius":"50%","y":77}]}]},"width":150,"height":150}' 127.0.0.1:7801 -o chart2.png

chart2

Reproduction steps
curl -H "Content-Type: application/json" -X POST -d '{"type":"png","infile":{"chart":{"type":"solidgauge","height":"110%"},"credits":{"enabled":false},"title":{"text":""},"yAxis":{"min":0,"max":100,"lineWidth":0,"tickPositions":[]},"pane":{"startAngle":0,"endAngle":360,"background":[{"outerRadius":"105%","innerRadius":"85%","backgroundColor":"rgba(240,148,0,0.3)","borderWidth":0},{"outerRadius":"65%","innerRadius":"50%","backgroundColor":"rgba(39,209,190,0.3)","borderWidth":0}]},"plotOptions":{"solidgauge":{"dataLabels":{"enabled":false},"linecap":"round","stickyTracking":false,"rounded":true}},"series":[{"name":"","data":[{"color":"#f09400","radius":"105%","innerRadius":"85%","y":35}]},{"name":"","data":[{"color":"#27d1be","radius":"65%","innerRadius":"50%","y":77}]}]},"width":150,"height":150}' 127.0.0.1:7801 -o chart2.png
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của highcharts/node-export-server

Tất cả issue của highcharts/node-export-server

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.