@spalger/kibana
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
37 lines (35 loc) • 608 B
JavaScript
var _ = require('lodash');
module.exports = {
'label': '',
'xAxisLabel': 'bytes ranges',
'yAxisLabel': 'Count of documents',
'series': [
{
'values': [
{
'x': '0.0-1000.0',
'y': 16576
},
{
'x': '1000.0-2000.0',
'y': 9005
}
]
}
],
'hits': 171500,
'xAxisFormatter': function (val) {
if (_.isObject(val)) {
return JSON.stringify(val);
}
else if (val == null) {
return '';
}
else {
return '' + val;
}
},
'tooltipFormatter': function (d) {
return d;
}
};