mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Merge stash
This commit is contained in:
parent
7aadad913e
commit
e216ba6721
@ -12,14 +12,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Sparkline.prototype.apply = function(el) {
|
Sparkline.prototype.apply = function(el) {
|
||||||
var self = this, icinga = this.icinga;
|
|
||||||
|
|
||||||
$('span.sparkline', el).each(function(i, element) {
|
$('span.sparkline', el).each(function(i, element) {
|
||||||
// read custom options
|
// read custom options
|
||||||
var $spark = $(element);
|
var $spark = $(element);
|
||||||
var labels = $spark.attr('labels').split('|');
|
var labels = $spark.attr('labels').split('|');
|
||||||
var formatted = $spark.attr('formatted').split('|');
|
var formatted = $spark.attr('formatted').split('|');
|
||||||
var tooltipChartTitle = $spark.attr('sparkSparklineChartTitle') || '';
|
var tooltipChartTitle = $spark.attr('sparkTooltipChartTitle') || '';
|
||||||
var format = $spark.attr('tooltipformat');
|
var format = $spark.attr('tooltipformat');
|
||||||
var hideEmpty = $spark.attr('hideEmptyLabel') === 'true';
|
var hideEmpty = $spark.attr('hideEmptyLabel') === 'true';
|
||||||
$spark.sparkline(
|
$spark.sparkline(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user