minor fixes

Former-commit-id: f885316b4f063daac744ca458fa3d41a16d5d81b
This commit is contained in:
fbsanchez 2019-03-26 16:51:09 +01:00
parent 2d1463ee0c
commit a76ad27825

View File

@ -2956,6 +2956,10 @@ function init_graph(parameter_object) {
$(window).height() - $("#menu_tab_frame_view").height() - 20; // 20 of margin
}
if (typeof parameter_object.font_size != "undefined") {
window.font_size = parameter_object.font_size;
}
window.refresh_period = 5 * 1000; //milliseconds
if (typeof parameter_object.refresh_period != "undefined") {
window.refresh_period = parameter_object.refresh_period;
@ -3968,8 +3972,8 @@ function draw_elements_graph() {
var font_size = node_radius / 1.5;
if (self.font_size) {
font_size = self.font_size;
if (typeof window.font_size != "undefined") {
font_size = window.font_size;
}
node_temp