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' } } },
Comments
Post a Comment