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

35 lines (29 loc) 1.34 kB
define(function (require) { // we also need to load the controller and used by the template require('plugins/timelion/vis/timelion_vis_controller'); require('plugins/timelion/vis/timelion_vis_params_controller'); // Stylin require('plugins/timelion/vis/timelion_vis.less'); // register the provider with the visTypes registry so that other know it exists require('ui/registry/vis_types').register(TimelionVisProvider); function TimelionVisProvider(Private) { var TemplateVisType = Private(require('ui/template_vis_type')); // return the visType object, which kibana will use to display and configure new // Vis object of this type. return new TemplateVisType({ name: 'timelion', title: 'Timeseries', icon: 'fa-clock-o', description: 'Create timeseries charts using the timelion expression language. ' + 'Perfect for computing and combining timeseries sets with functions such as derivatives and moving averages', template: require('plugins/timelion/vis/timelion_vis.html'), params: { editor: require('plugins/timelion/vis/timelion_vis_params.html') }, requiresSearch: false, implementsRenderComplete: true, }); } // export the provider so that the visType can be required with Private() return TimelionVisProvider; });