added shared tooltips to graphs

This commit is contained in:
toni-moreno
2014-09-23 13:51:59 +02:00
parent 0fbace7285
commit f59bb6461a
7 changed files with 264 additions and 5 deletions

View File

@@ -27,7 +27,10 @@ define([
legend: {},
grid: {},
y_formats: [],
seriesOverrides: []
seriesOverrides: [],
tooltip: {
shared: true
}
};
scope.hiddenSeries = {};
scope.dashboard = { timezone: 'browser' };

View File

@@ -43,6 +43,7 @@ require.config({
'jquery.flot.stack': '../vendor/jquery/jquery.flot.stack',
'jquery.flot.stackpercent':'../vendor/jquery/jquery.flot.stackpercent',
'jquery.flot.time': '../vendor/jquery/jquery.flot.time',
'jquery.flot.crosshair': '../vendor/jquery/jquery.flot.crosshair',
modernizr: '../vendor/modernizr-2.6.1',
},
@@ -77,6 +78,7 @@ require.config({
'jquery.flot.stack': ['jquery', 'jquery.flot'],
'jquery.flot.stackpercent':['jquery', 'jquery.flot'],
'jquery.flot.time': ['jquery', 'jquery.flot'],
'jquery.flot.crosshair':['jquery', 'jquery.flot'],
'angular-route': ['angular'],
'angular-cookies': ['angular'],