diff --git a/common/css/main.css b/common/css/main.css
index c7a17b0f0c9..bb53d3f6704 100644
--- a/common/css/main.css
+++ b/common/css/main.css
@@ -6,6 +6,46 @@
color: #000;
}
+.kibana-row {
+ margin-left: 15px;
+ margin-bottom: 15px;
+}
+
+.navbar .brand {
+ color: #eee;
+}
+
+.row-close {
+ color: #bbb;
+ position: absolute;
+ font-size: 9pt;
+ font-weight: 200;
+ padding-left: 35px;
+ padding-top:0px;
+}
+
+.row-open {
+ text-align: right;
+ color: #bbb;
+ margin-top:30px;
+ position: absolute;
+ font-size: 13pt;
+ font-weight: 200;
+ -moz-transform-origin: 40px;
+ -ms-transform-origin: 40px;
+ -o-transform-origin: 40px;
+ -webkit-transform-origin: 40px;
+ transform-origin: 40px;
+ transform: rotate(-90deg);
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
+ -webkit-transform: rotate(-90deg);
+ -moz-transform: rotate(-90deg);
+}
+
+.row-open i {
+ font-size: 10pt;
+}
+
.odd {
background-color: #f9f9f9;
}
diff --git a/index.html b/index.html
index 7af6855a217..5a23ff69de6 100644
--- a/index.html
+++ b/index.html
@@ -36,7 +36,7 @@
-
Kibana 3 Preview
+
Kibana 3 milestone 1
{{dashboards.title}}
diff --git a/panels/histogram/editor.html b/panels/histogram/editor.html
index 6863844c58e..76fdca5733d 100644
--- a/panels/histogram/editor.html
+++ b/panels/histogram/editor.html
@@ -1,61 +1,67 @@
-
-
-
+
+
-
-
-
-
- Chart Options
-
-
-
- Line Fill (1 - 10)
-
-
-
- Time correction
-
-
-
- Zoom Links
-
-
-
Panel Spy
-
-
- Spyable
-
-
- The panel spy shows 'behind the scenes' information about a panel. It can
- be accessed by clicking the
in the top right
- of the panel.
+
+
+ Chart Options
+
+
+
+ Line Fill
+
+
+
+ Line Width
+
+
+
+ Time correction
+
+
+
+ Zoom Links
+
+
+
Panel Spy
+
+
+ Spyable
+
+
+ The panel spy shows 'behind the scenes' information about a panel. It can
+ be accessed by clicking the in the top right
+ of the panel.
+
diff --git a/panels/histogram/module.html b/panels/histogram/module.html
index 3e646faad12..406c061d576 100644
--- a/panels/histogram/module.html
+++ b/panels/histogram/module.html
@@ -2,16 +2,16 @@
-
+
+
Zoom In
Zoom Out
-
-
+ |
{{series.label}} ({{series.hits}})
per {{panel.interval}} | ({{hits}} total)
-
+
\ No newline at end of file
diff --git a/panels/histogram/module.js b/panels/histogram/module.js
index 1bc9d5b34b3..c2049e80f17 100644
--- a/panels/histogram/module.js
+++ b/panels/histogram/module.js
@@ -7,6 +7,7 @@ angular.module('kibana.histogram', [])
interval : secondsToHms(calculate_interval($scope.from,$scope.to,40,0)/1000),
show : ['bars','y-axis','x-axis','legend'],
fill : 3,
+ linewidth : 3,
timezone : 'browser', // browser, utc or a standard timezone
spyable : true,
zoomlinks : true,
@@ -148,7 +149,6 @@ angular.module('kibana.histogram', [])
i++;
});
- eventBus.broadcast($scope.$id,$scope.panel.group,'hits',$scope.hits)
$scope.$emit('render')
if(_segment < $scope.panel.index.length-1) {
$scope.get_data(_segment+1,query_id)
@@ -184,7 +184,7 @@ angular.module('kibana.histogram', [])
}
})
-.directive('histogram', function(eventBus) {
+.directive('histogramChart', function(eventBus) {
return {
restrict: 'A',
link: function(scope, elem, attrs, ctrl) {
@@ -236,7 +236,12 @@ angular.module('kibana.histogram', [])
},
series: {
stack: show.stack,
- lines: { show: show.lines, fill: scope.panel.fill/10 },
+ lines: {
+ show: show.lines,
+ fill: scope.panel.fill/10,
+ lineWidth: scope.panel.linewidth,
+ steps: true
+ },
bars: { show: show.bars, fill: 1, barWidth: barwidth/1.8 },
points: { show: show.points, fill: 1, fillColor: false},
shadowSize: 1
@@ -251,7 +256,8 @@ angular.module('kibana.histogram', [])
color: "#000",
},
selection: {
- mode: "x"
+ mode: "x",
+ color: '#666'
},
grid: {
backgroundColor: '#fff',
@@ -294,23 +300,25 @@ angular.module('kibana.histogram', [])
var tooltip = $('#pie-tooltip').length ?
$('#pie-tooltip') : $('
');
//var tooltip = $('#pie-tooltip')
- tooltip.text(contents).css({
+ tooltip.html(contents).css({
position: 'absolute',
top : y + 5,
left : x + 5,
- color : "#FFF",
- border : '1px solid #FFF',
- padding : '2px',
- 'font-size': '8pt',
- 'background-color': '#000',
+ color : "#000",
+ border : '3px solid #000',
+ padding : '10px',
+ 'font-size': '11pt',
+ 'font-weight' : 'bold',
+ 'background-color': '#FFF',
+ 'border-radius': '10px',
}).appendTo("body");
}
elem.bind("plothover", function (event, pos, item) {
if (item) {
- var percent = parseFloat(item.series.percent).toFixed(1) + "%";
tt(pos.pageX, pos.pageY,
- item.datapoint[1].toFixed(1) + " @ " +
+ "
"+
+ item.datapoint[1].toFixed(0) + " @ " +
new Date(item.datapoint[0]).format('mm/dd HH:MM:ss'));
} else {
$("#pie-tooltip").remove();
diff --git a/panels/hits/editor.html b/panels/hits/editor.html
index d4833703c26..0c21fcb206a 100644
--- a/panels/hits/editor.html
+++ b/panels/hits/editor.html
@@ -1,23 +1,49 @@
-
+
+
+
Font Size
+
+
- Run Query
+ Aggregate
-
- With query running disabled, this panel receives its hit count from a histogram panel. If multiple queries are running this
will show the total of all queries .
+
Counter Style
+
-
- This shows a simple count of how many records match your filtered query. If multiple queries are sent from a single panel the
first query will be displayed
+
+ Chart
-
-
-
-
+
@@ -31,7 +31,7 @@
Search
- Add Query
+ Add Query
diff --git a/partials/dashboard.html b/partials/dashboard.html
index f88f599ad03..797298b533b 100644
--- a/partials/dashboard.html
+++ b/partials/dashboard.html
@@ -1,17 +1,21 @@
-