Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Can't generate correct highchart with useHTML enabled option. #15098

Closed
RredCat opened this issue Aug 8, 2017 · 0 comments
Closed

Can't generate correct highchart with useHTML enabled option. #15098

RredCat opened this issue Aug 8, 2017 · 0 comments

Comments

@RredCat
Copy link

RredCat commented Aug 8, 2017

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version.
    I am using 2.1.1 version of phantomjs

  2. What steps will reproduce the problem?

  • start phantomjs server phantomjs highcharts-convert.js -host 127.0.0.1 -port 3003
  • call it with next infile parameter - "{'chart':{'type':'bar'},'xAxis':{'categories':['&#39;<b>Jan</b>&#39;', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],'labels':{'useHTML':true}},'series':[{'data':[29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]}]}"
  • I recieved image without any categorties.
  • If I take off 'labels':{'useHTML':true} I have correct chart but my html category looks bad (&#39;<b>Jan</b>&#39; instead of 'Jan').
  • Web version of highchart doesn't have this issue http://jsfiddle.net/RredCat/v90pv006/ and works correct.
  1. Which operating system are you using?
    I am using Windows 10.

  2. Did you use binary PhantomJS or did you compile it from source?
    I am using downloaded binary of PhantomJS

  3. Please provide any additional information below.

@RredCat RredCat changed the title Can't generrate correct hightchart with useHTML enebled option. Can't generate correct highchart with useHTML enabled option. Aug 8, 2017
@ghost ghost closed this as completed Jan 29, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant