moved the query color to a header, with a similarly colored title for the series

This commit is contained in:
Spencer Alger
2013-08-29 15:05:07 -07:00
parent d1495fbf6e
commit 6227cfdb70

View File

@@ -429,7 +429,10 @@ angular.module('kibana.histogram', [])
if (item) {
$tooltip
.html(
kbn.query_color_dot(item.series.color, 15) + ' ' +
'<small style="font-size:0.9em;color:'+item.series.color+'">' +
'<i class="icon-circle"></i>' + ' ' +
(item.series.info.alias || item.series.info.query) +
'</small><br>' +
item.datapoint[1].toFixed(0) + " @ " +
moment(item.datapoint[0]).format('MM/DD HH:mm:ss')
)