score:43
Accepted answer
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'
}
}
},
score:0
i was having an issue setting fontsize of my x-axis labels. setting it using font in the labels worked for me:
xaxis: {
categories: ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'],
labels: {
style: {
color: 'red',
font: '13px arial, sans-serif'
}
}
},
score:0
xaxis: {
categories: ['climate change', 'marketing', 'development', 'customer support',
'information technology', 'administration'],
tickmarkplacement: 'on',
linewidth: 0,
labels: {
style: {
fontsize: '14px',
fontfamily: 'verdana, sans-serif',
}}
},
Source: stackoverflow.com
Related Query
- Changing Highcharts font size
- Highcharts tooltip x axis font size
- HighCharts on hover change dataLabel's font size
- Change dataLabels font size when zooming in Highcharts bubble graph
- Highcharts - change font size of text on chart
- HighCharts organization diagram font size
- responsive highcharts with dynamic font size and widths
- Change the font size and orientation of Highcharts Gantt X-axis labels
- Dynamically changing Highcharts Theme through Jquery code not working
- Changing lables on x-axis like from Monday to show M as per window size in HighCharts
- Changing data dynamically for a series in Highcharts
- Highcharts legend font sizes
- Changing series color in highcharts dynamically
- Changing HighCharts background color?
- Highcharts area fillOpacity do not work when changing the color
- Changing a Highcharts theme (partially working)
- Changing Highcharts data series type dynamically
- Highcharts pie chart dynamically changes size
- Changing the color of the point dynamically in highcharts
- HighCharts: How to use reflow to allow auto-resize after changing size
- How to change axis label size when exporting in Highcharts / Highstock
- Changing color of spline lines based on values in HighCharts
- Highcharts Dynamically Changing Labels?
- Issue Dynamically Changing HighCharts Chart Title
- How to properly align Font Awesome symbols on Highcharts scatter plots?
- Changing data in HighCharts series causes y-axis to blow up
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Change Font Size Jquery Hightcharts
- Highcharts - Global configuration with common code and unique data & Headings
- Imported font and Highcharts JS export
More Query from same tag
- HighStock Depthchart is updating the data strangely
- Highcharts - how to set textShadow for data labels
- Highstock: animate chart update when scrollbar is dragged or navigator handle is released
- If statement for line colours
- Highcharts capture selection
- Highchart show percentage on group column highcharts
- Highcharts Donutchart: Avoid showing duplicate legend with nested charts
- Jquery - Counting JSON objects
- Get left and top position of highcharts scrollbar
- Unable to get value of the property '0': object is null or undefined in IE7
- Highcharts - CUSTOM DATA LABELS in line series, are disappearing on window resize
- Highchart 1.2.5 not working in IE9
- how to add values from my object to Highchart using Jquery
- Hightcharts - Not showing column datalabels when chart type is column
- How to avoid horizontal scrollbar in highcharts
- Reveal.js with highcharts
- Hide axes when drilling from column chart to pie chart in Highcharts
- How to use Jquery knob like text label with highchart Jquery plugin
- How to disable LegendClick event in HighCharts using the Objective-C wrapper?
- Why is the my "max" value not accepted in Highcharts?
- How to style two different legends in HighCharts
- Get the currently selected rangeSelector from an event unrelated to the chart
- Highcharts - Multiple Charts On Mobile Page
- How to "Pause" Highcharts selection event
- Feeding highchart with x and y values from ajax
- How to display grid line on top of highchart
- highstock 2.0.4 not working on IE and Firefox
- Highstock displayed inconsistent
- HighCharts - Show tooltip on column where value is 0 or null
- Highcharts xAxis multiple colors