Open
Description
openedon Mar 16, 2018
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#893
Copied from original issue: nyurik/kibana-vega-vis#11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment