javascript - Changing Highcharts font size -


i'm looking @ using highcharts webpage, specifically:

http://www.highcharts.com/demo/column-basic/dark-green

however, font sizes small. i've tried adding:

legend: {         itemstyle: {             color: '#000000',             fontweight: 'bold',             fontsize: '15px'         } 

to js file site provided doesn't result in font size change. additionally increase size of key (where states tokyo, new york, london, berlin). first time using highcharts , i've been doing research couple hours , can't seem find answer. appreciated!

for legend font size, code working perfect. here working demo.

and x-axis , y-axis,put font size in (x-axis/y-axis)->labels->style object: here sample :

 xaxis: {             categories: ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'],             labels: {                 style: {                     color: 'red',                     fontsize:'15px'                 }             }         }, 

demo :http://jsfiddle.net/4vzng/


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -