Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4: Broken solidgauge chart after upgrade to latest version #582

Open
StephaneQ opened this issue Oct 3, 2024 · 1 comment
Open

v4: Broken solidgauge chart after upgrade to latest version #582

StephaneQ opened this issue Oct 3, 2024 · 1 comment

Comments

@StephaneQ
Copy link

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
└── highcharts-export-server@3.1.1
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
└── highcharts-export-server@4.0.2
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
@jszuminski
Copy link
Contributor

Hi @StephaneQ,

Thanks for reporting the issue!

This should get solved with #561 in the upcoming release. Once this pull request is fully completed, tested, and merged, we will get back to this issue to see if it's fully resolved.

I will keep you posted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants