How to change the default font-family?

Technical support, bug reports and more.

How to change the default font-family?

Postby ohauger on Fri Jul 30, 2010 4:55 pm

Hello,

I want to change the font-family which is used for all parts of the charts by default. I could do this by:

1. Change it directly in highchart.js:
That is quite ugly I think.

2. Overwrite the style of all highchart options:
I've started to do this but then I've recognized that there are too many options to change

Is there a possibility to change the default font-family for all parts of the charts with just one setting?

Thanx in advance,
Oliver
ohauger
 
Posts: 1
Joined: Fri Jul 30, 2010 4:41 pm

Re: How to change the default font-family?

Postby admin on Mon Aug 02, 2010 3:14 pm

You can change it in options.chart.style.fontFamily.
Torstein Hønsi
Developer,
Highslide Software
User avatar
admin
Site Admin
 
Posts: 7858
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway


Return to Highcharts Usage

Who is online

Users browsing this forum: Google [Bot] and 2 guests