TDo
TDo

Reputation: 744

Using FontAwesome icons as HighChart markers

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?

Upvotes: 2

Views: 682

Answers (1)

lamtacvu
lamtacvu

Reputation: 685

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',            
},

Upvotes: 1

Related Questions