UNPKG

kibana-123

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

50 lines (48 loc) 808 B
import _ from 'lodash'; module.exports = { 'label': '', 'xAxisLabel': 'Top 5 extension', 'yAxisLabel': 'Count of documents', 'series': [ { 'label': 'Count', 'values': [ { 'x': 'jpg', 'y': 110710 }, { 'x': 'css', 'y': 27389 }, { 'x': 'png', 'y': 16661 }, { 'x': 'gif', 'y': 11269 }, { 'x': 'php', 'y': 5447 } ] } ], 'hits': 171476, 'xAxisFormatter': function (val) { if (_.isObject(val)) { return JSON.stringify(val); } else if (val == null) { return ''; } else { return '' + val; } }, 'tooltipFormatter': function (d) { return d; } };