question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Use HTML for labels. Fontello is supported?

See original GitHub issue

Hi! I comented in the closed issue and don’t know if its visible now. https://github.com/chartjs/Chart.js/issues/401. (This issue was created for the version 1.0.2)

It’s possible use HTML for labels in the new version 2.1.4?? I need use “fontello”. I have to do something like this: return "<i class='icon-ok-circled2'></i>" + chart.data.labels[tooltipItem[0].index];

Thank you so much for everything

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
ddaniel-dtcommented, Jun 1, 2016

@etimberg How would someone go about editing the label via canvas? if you wanted to add a different background colour to each label for example…

0reactions
erpardeepjaincommented, Feb 23, 2018

@soniaCejas I am using version ^2.7.1, can you please tell how can I add custom images now? instead of using font-awesome or something like this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML for Icon Font Usage | CSS-Tricks
Pick out an icon font. · Go to IcoMoon and load it up (or use their icon set) · Choose the icons you...
Read more >
How to use fonts from Fontello.com as html elements?
I would like to use a few Font Awesome icons, so I have selected them on www.fontello.com, I have changed prefix to fa-...
Read more >
I have custom fontello fonts but not working - MSDN - Microsoft
I have added custom fontello font like embedded source but shown old code of icons when I add new icons that not working...
Read more >
Set up icon font libraries | Acquia Cohesion Docs
Importing web icon fonts using Fontello · Navigate to Site Studio > Website settings > Icon libraries · Within Icon fonts, click on...
Read more >
av_button labels vanished - Support - Kriesi.at
after Enfold 4.4.1 upgrade, all av_button labels with an apostrophe (so ... font='entypo-fontello' color='theme-color' custom_bg='#444444' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found