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

16 lines (13 loc) 330 B
export default function PointSeriesAddToSiri() { return function addToSiri(series, point, id, label) { id = id == null ? '' : id + ''; if (series.has(id)) { series.get(id).values.push(point); return; } series.set(id, { label: label == null ? id : label, values: [point] }); }; };