Using FontAwesome icons as HighChart markers

Viewed 179

I found this useful fiddle about how to use FontAwesome as markers in HighChart. The idea is to use the icons' unicode to plug in HighChart.

marker: {
            symbol: 'text:\uf0c8',
            
        },

However in FontAwesome, both solid and regular versions of the same shape share the same unicode. For example, solid square and regular square. If I use their unicode, the HighChart marker is always the solid version. How do I change the marker to the regular version?

1 Answers

In that fiddle, it is using font-awesome 4.1.0, so if you want to use the regular square it should be:

marker: {
   symbol: 'text:\uf096',            
},
Related