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
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue