Есть ли способ изменить размер шрифта диаграммы в hqucharts jquery ??
я пробовал параметр fontsize, но он не работает вообще ..
Я попытался уменьшить шрифт легенды, чтобы он мог поместиться в корзину без новой строки, если легенда будет длинной.
Может быть, кто-нибудь когда-нибудь пробовал это?
вот мой сценарий:
options = {
chart: {
backgroundColor: {
linearGradient:[0, 0, 500, 500],
stops: [
[0, 'rgb(255,255,255)'],
[1, 'rgb(237,236, 250)']]},
type: tGraf,
renderTo: contGrafik,
defaultSeriesType: 'column',
width: sWidth
},
title: {
text: 'Human Resources',
style: {
font: 'normal 14px Verdana, sans-serif',
color : 'black'
}
},
subtitle: {
text: '',
style: {
font: 'normal 11px Verdana, sans-serif',
color : '#000099'
}
},
xAxis: {
title: {
text : ''
},
labels: {
rotation: 0,
align: 'right',
style: {
font: 'normal 11px Verdana, sans-serif',
color : 'black'
}
},
},
yAxis: {
allowDecimals : false ,
labels: {
align: 'right',
style: {
font: 'normal 11px Verdana, sans-serif',
color : 'black'
}
},
gridLineColor: '#EEEFE1',
title: {
text: 'Employees',
style: {
font: 'normal 13px Verdana, sans-serif',
color : 'black'
}
}
},
plotOptions: {
column: {
dataLabels : {
enabled : true,
formatter: function() {
return this.y;
}
},
cursor: 'pointer'
}},
legend: {
itemWidth : uLegend,
style: {
font: 'normal 5px Verdana, sans-serif',
color : 'black',
}
symbolPadding: 2,
symbolWidth: 15,
backgroundColor: '#FFFF99',
itemStyle: {
cursor: 'pointer',
color: '#3E576F'
},
width: 600,
align: 'center',
layout: 'horizontal'},
tooltip: {
formatter: function() {
return '<b>'+ this.series.name +'</b><br/>'+this.y + ' Orang';
}
}
};