[Vega]Do not regenerate graph on auto-refreshing #17212
Labels
enhancement
New value added to drive a business result
Feature:Vega
Vega visualizations
impact:needs-assessment
Product and/or Engineering needs to evaluate the impact of the change.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
From @nyurik on August 3, 2017 23:50
Vega graph should auto-refresh its data. The simple way is to regenerate the whole graph every time new data becomes available. The more efficient ("proper") way would be to implement JS observables pattern - so when Vega requests Elastic Search data, return an object with
.subscribe()
instead of.then()
. Vega will use that.subscribe
function to provide a callback. This also requires a bit of upstream modification of the Vega's data loader code -- vega/vega#893Copied from original issue: nyurik/kibana-vega-vis#11
The text was updated successfully, but these errors were encountered: