Merge branch '3047-Error-en-etiqueta-en-gráficas-horizontales' into 'develop'
Changed the font styles of the labels - #3047 See merge request artica/pandorafms!1982 Former-commit-id: 48a5230053344368f5858192e6eb3a4d7c42c830
This commit is contained in:
commit
0cb7aa3d0e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue