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

23 lines (22 loc) 588 B
var alter = require('../lib/alter.js'); var Chainable = require('../lib/classes/chainable'); module.exports = new Chainable('title', { args: [ { name: 'inputSeries', types: ['seriesList'] }, { name: 'title', types: ['string', 'null'], help: 'Title for the plot.' } ], help: 'Adds a title to the top of the plot. If called on more than 1 seriesList the last call will be used.', fn: function hideFn(args) { return alter(args, function (eachSeries, title) { eachSeries._title = title; return eachSeries; }); } });