node-export-server icon indicating copy to clipboard operation
node-export-server copied to clipboard

Title text in allowHTML should work?

Open jszuminski opened this issue 1 year ago • 1 comments

When pasting this configuration into https://export.highcharts.com/ we should get a proper result (and if not, there should be a clear note in the docs):

{
  "xAxis": {
    "categories": [
      "Jan",
      "Feb",
      "Mar",
      "Apr",
      "May",
      "Jun",
      "Jul",
      "Aug",
      "Sep",
      "Oct",
      "Nov",
      "Dec"
    ]
  },
  "title": {
    "text": "<span style=\"color: red;\">My custom title</span>",
    "useHTML": true
  },
  "series": [
    {
      "data": [
        29.9,
        71.5,
        106.4,
        129.2,
        144,
        176,
        135.6,
        148.5,
        216.4,
        194.1,
        95.6,
        54.4
      ]
    }
  ]
}

jszuminski avatar Nov 16 '24 18:11 jszuminski

Internal note: works as expected through the exporting.js module: https://jsfiddle.net/BlackLabel/eu1zgrq0/

jszuminski avatar Nov 20 '24 17:11 jszuminski