Changing Highcharts font size
highcharts, html, javascript
Solution
For legend font size, your code is working perfect. Here is working demo.
and for X-axis and Y-axis,put the font size in (x-Axis/y-Axis)->labels->style object: Here is the 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/
Problem
I'm looking at using HighCharts for a webpage, specifically: http://www.highcharts.com/demo/column-basic/dark-green However, the font sizes are too small. I've tried adding: ``` legend: { itemStyle: { color: '#000000', fontWeight: 'bold', fontSize: '15px' } ``` to my js file that the site provided but this doesn't result in a font size change. Additionally I would also like to increase the size of the key (where it states Tokyo, New York, London, Berlin). This is my first time using Highcharts and I've been doing research for a couple hours now and I can't seem to find the answer. Any help would be much appreciated!