Gauge: Better handling of gauge repeat title (#16886)

* Gauge: began looking at gauge title

* Gauge: title improvements

* Minor progres

* Gauge: title improvements, still needs more tweaking

* Gauge: title is starting to work ok

* Use selectThemeVariant

* Remove unused type
This commit is contained in:
Torkel Ödegaard
2019-05-06 13:50:17 +02:00
committed by GitHub
parent d881976c9d
commit 575fe7ad5a
2 changed files with 65 additions and 21 deletions

View File

@@ -594,6 +594,8 @@
span.css("position", "absolute");
span.css("top", y + "px");
span.css("white-space", "nowrap");
if (textOptions.font.size) {
span.css("font-size", textOptions.font.size + "px");
}
@@ -935,7 +937,7 @@
}
},
values: [
]
}
}
@@ -951,3 +953,4 @@
});
})(jQuery);