ElenaM
Posts: 1
Joined: Mon Mar 18, 2019 2:49 pm

Highcharts server rendering without PhantomJs

Hello everyone,

I was recently searching for any existing solutions to use highcharts with nodeJs and render chart PNGs on server side. I found https://www.highcharts.com/news/256-int ... rt-server/ but this is not an acceptable solution. We are switching exactly from direct usage of phantomJs+highcharts to nodeJs+highcharts, as PhantomJs is no longer supported ad seems to be dead, and the idea of having second running server is not exciting.
So I wonder whether there are any other options except of direct or indirect usage of PhantomJs, to render chart PNGs on nodeJs with highcharts.

Thanks in advance,
Elena
bastss
Site Admin
Posts: 1192
Joined: Wed Oct 17, 2018 10:59 am

Re: Highcharts server rendering without PhantomJs

Hello ElenaM,

Welcome to official Highcharts forum and thank you for contacting us!

Have you already checked our official Github instructions involves using Highcharts node export server and some samples? Link: https://github.com/highcharts/node-export-server

If you have any additional questions - ask away!

Best regards!
Sebastian Wędzel,
Highcharts Developer
ryansoftware
Posts: 2
Joined: Tue Jun 08, 2021 9:16 am

Re: Highcharts server rendering without PhantomJs

This is a crappy non-answer sadly. The node export server is phantom js based. I'm quite disappointed that the export functionality in highcharts is so bad. It's not a cheap product, and non-browser usage is quite common.

Please fix this. It's really a show stopper, and a major pain in many people's ass.
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Highcharts server rendering without PhantomJs

Hi ryansoftware,
Thanks for the contact.

We plan to rebuild the Higcharts export server without using phantom js, but we don't have details yet when we start working.

Best regards.
Sebastian Hajdus
Highcharts Developer
_HJ_
Posts: 3
Joined: Mon Sep 20, 2021 11:42 am

Re: Highcharts server rendering without PhantomJs

What is the status of the highcharts-server-without-phantomjs development work?
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Highcharts server rendering without PhantomJs

Hi _HJ_,
Thanks for your message and welcome to our forum.

The export server is rebuilding. you can follow GitHub page project:
https://github.com/highcharts/node-export-server/pulls

Best regards.
Sebastian Hajdus
Highcharts Developer
witt
Posts: 15
Joined: Wed Aug 12, 2020 8:16 pm

Re: Highcharts server rendering without PhantomJs

Any estimate as to when this update might be released? My app now has a "critical" vulnerability due to phantomJS:

Code: Select all

cryptiles  <=4.1.1
Severity: critical
Insufficient Entropy in cryptiles - https://github.com/advisories/GHSA-rq8g-5pc5-wrhr
Depends on vulnerable versions of boom
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/cryptiles
  hawk  0.0.6 - 6.0.2
  Depends on vulnerable versions of boom
  Depends on vulnerable versions of cryptiles
  Depends on vulnerable versions of hoek
  Depends on vulnerable versions of sntp
  node_modules/hawk
    request  >=2.16.0
    Depends on vulnerable versions of hawk
    Depends on vulnerable versions of http-signature
    Depends on vulnerable versions of tunnel-agent
    node_modules/phantomjs-prebuilt/node_modules/request
    node_modules/request
      phantomjs-prebuilt  <=2.1.14
      Depends on vulnerable versions of extract-zip
      Depends on vulnerable versions of request
      node_modules/phantomjs-prebuilt
        highcharts-export-server  >=1.0.8
        Depends on vulnerable versions of body-parser
        Depends on vulnerable versions of phantomjs-prebuilt
        node_modules/highcharts-export-server
Thank you!
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Highcharts server rendering without PhantomJs

Hello witt,

Thanks for contacting us with your question.

We don't have specific date for official release yet, but it is set for Q4 of 2021, so it should take place relatively soon. Of course it heavily depends on development progress which you can follow here: https://github.com/highcharts/node-export-server

Let me know if you have any further questions!
Regards!
Mateusz Bernacik
Highcharts Developer
gurpreet.singh1
Posts: 2
Joined: Tue Feb 15, 2022 9:33 am

Re: Highcharts server rendering without PhantomJs

Hello highcharts team, What is the status of the highcharts-server-without-phantomjs development work? it was said to be done by q4 of 2021 and it's feb of 2022 any idea when will be it completed? i am facing serious vulnerability due to phantomJS. please contact soon
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Highcharts server rendering without PhantomJs

Hi gurpreet.singh1,

Welcome to our forum and thanks for contacting us with your question!

You're right, the release is slightly delayed. To be a bit more specific, we are right before beta phase, which will be preceded by stress tests. Our export server developers are having a meeting at friday and I will try to provide you with some more information at the beginning of the next week.

Thanks for your patience.
Regards!
Mateusz Bernacik
Highcharts Developer
gurpreet.singh1
Posts: 2
Joined: Tue Feb 15, 2022 9:33 am

Re: Highcharts server rendering without PhantomJs

okay, thanks for the reply hoping to listen from you on Monday.
saurabhC1202
Posts: 1
Joined: Mon Feb 21, 2022 5:01 am

Re: Highcharts server rendering without PhantomJs

Any update on highcharts export server without phantom Js??
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Highcharts server rendering without PhantomJs

Hi saurabhC1202,

Welcome to our forum and thanks for contacting us with your question!

I don't have any update yet, but most likely today I will provide you with more information.

Regards!
Mateusz Bernacik
Highcharts Developer
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Highcharts server rendering without PhantomJs

Hi,

Unfortunately we still don't have a specific release date that we could share. All I can tell right now, is that we are in the testing phase, we have few issues that we expect to be resolved quickly and most likely the release will be fairly soon.

I will provide you with any updates. Thanks for your patience.
Regards!
Mateusz Bernacik
Highcharts Developer
_HJ_
Posts: 3
Joined: Mon Sep 20, 2021 11:42 am

Re: Highcharts server rendering without PhantomJs

mateusz.b wrote: Mon Feb 21, 2022 4:30 pm Hi,

Unfortunately we still don't have a specific release date that we could share. All I can tell right now, is that we are in the testing phase, we have few issues that we expect to be resolved quickly and most likely the release will be fairly soon.

I will provide you with any updates. Thanks for your patience.
Regards!
Is there any status update on this?

Return to “Highcharts Usage”