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

Title text in allowHTML should work? #601

Open
jszuminski opened this issue Nov 16, 2024 · 1 comment
Open

Title text in allowHTML should work? #601

jszuminski opened this issue Nov 16, 2024 · 1 comment

Comments

@jszuminski
Copy link
Contributor

jszuminski commented Nov 16, 2024

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 jszuminski added the bug label Nov 16, 2024
@jszuminski
Copy link
Contributor Author

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

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

1 participant