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

18 lines (15 loc) 369 B
define(function (require) { return function PointSeriesAddToSiri() { return function addToSiri(series, point, id, label) { id = id == null ? '' : id + ''; if (series[id]) { series[id].values.push(point); return; } series[id] = { label: label == null ? id : label, values: [point] }; }; }; });