mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Added sparkline support
This commit is contained in:
parent
f20f27927d
commit
a0e6a73ecc
@ -2,6 +2,7 @@
|
||||
|
||||
$jsfiles = array(
|
||||
'js/vendor/jquery-1.8.3.js',
|
||||
'js/vendor/jquery.sparkline.min.js',
|
||||
'js/helpers.js',
|
||||
'js/icinga.js',
|
||||
'js/icinga/logger.js',
|
||||
|
@ -39,6 +39,14 @@
|
||||
// NOT YET, the applyOnloadDings: module.applyEventHandlers(mod);
|
||||
}
|
||||
});
|
||||
|
||||
$('.inlinepie', el).sparkline('html', {
|
||||
type: 'pie',
|
||||
sliceColors: ['#44bb77', '#ffaa44', '#ff5566', '#dcd'],
|
||||
width: '2em',
|
||||
height: '2em',
|
||||
});
|
||||
|
||||
},
|
||||
/**
|
||||
* Global default event handlers
|
||||
|
3054
public/js/vendor/jquery.sparkline.js
vendored
Normal file
3054
public/js/vendor/jquery.sparkline.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user