angular-chart.js icon indicating copy to clipboard operation
angular-chart.js copied to clipboard

Font icons as labels

Open lucasbeef opened this issue 10 years ago • 2 comments

Hi, I have been able to load custom fonts with pointLabelFontFamily, but not to display the icons. I've seen it work on Chart.js, but does angular-chart support it ?

Thank you

lucasbeef avatar Jan 04 '16 02:01 lucasbeef

How do you do that on Chart.js? You should be able to pass the same options as for Chart.js.

jtblin avatar Jan 26 '16 08:01 jtblin

I tried it again and managed to make it work.

The thing is to set the font in the graph's options with pointLabelFontFamily : "'fontello'", and as labels use the codes formated like so "\ue823"

lucasbeef avatar Feb 03 '16 17:02 lucasbeef