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

View File

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