mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Sparklines are fixed wifth and do not need to resize. Removing this eases memory consumption drastically.
This commit is contained in:
parent
384322abdb
commit
b80b775db4
1 changed files with 2 additions and 6 deletions
|
@ -658,12 +658,8 @@ define([
|
|||
}
|
||||
|
||||
// Receive render events
|
||||
scope.$watch('series', function () {
|
||||
render_panel();
|
||||
});
|
||||
|
||||
// Re-render if the window is resized
|
||||
angular.element(window).bind('resize', function () {
|
||||
scope.$watch('series', function (series) {
|
||||
console.log(series.length);
|
||||
render_panel();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue