javascript - How to display Html Entities in High Charts labels -


i'm using highcharts display donut-pie table. i'm trying display pound symbol in labels, when set usehtml true, i'm losing point select functionalities.

additional-info :

allowpointselect: true,  

will allow select segments in chart pointers. here pointers lose hover , click events.

any appreciated.

here fiddle it. fiddle sample

you added usehtml option. forked jsfiddle , i'm able add euro symbol.

datalabels: {   enabled: true,   color: '#3a4570',   connectorcolor: '#ffffff',   usehtml: true,   distance: 10,   style: {     "fontsize": "11px",     "fontweight": "bold",     "textshadow": "false"   },   formatter: function() {     return '<b style="color:#000;font-size:16px;" >'+ this.point.name +'</b><br/><span>total: </span>&euro;'+   } } 

forked jsfiddle: https://jsfiddle.net/ramsunvtech/5hbpxel7/4/


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -