Changed the font styles of the labels - #3047

This commit is contained in:
tatiana.llorente@artica.es 2018-11-16 11:46:41 +01:00
parent a0fde9503f
commit 8956ebd3c0
1 changed files with 6 additions and 5 deletions

View File

@ -362,10 +362,11 @@ function pandoraFlotHBars(graph_id, values, labels, water_mark,
tickFormatter: xFormatter,
},
yaxis: {
color: tick_color,
axisLabelUseCanvas: true,
axisLabelFontSizePixels: font_size,
axisLabelFontFamily: font+'Font',
font: {
size: font_size + 2,
color: 'rgb(84, 84, 84)',
family: font+'Font'
},
ticks: yFormatter,
},
legend: {
@ -417,7 +418,7 @@ function pandoraFlotHBars(graph_id, values, labels, water_mark,
div_attributes += "min-height: 2.5em;";
}
div_attributes += '" title="'+title+'" class="'+font+'" '+ ' style="overflow: hidden;"';
div_attributes += '" title="'+title+'" style="overflow: hidden;"';
format.push([i,'<div ' + div_attributes + '>'
+ label