UNPKG

@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

30 lines (26 loc) 648 B
define(function (require) { return function PointSeriesFakeXAxis(Private) { var AggConfig = Private(require('ui/Vis/AggConfig')); var AggType = Private(require('ui/agg_types/AggType')); var allAgg = new AggType({ name: 'all', title: 'All docs', ordered: false, hasNoDsl: true }); return function makeFakeXAxis(vis) { var fake = new AggConfig(vis, { type: allAgg, schema: vis.type.schemas.all.byName.segment }); return { i: -1, agg: fake, col: { aggConfig: fake, label: fake.makeLabel() } }; }; }; });