Skip to content

[Vega]Do not regenerate graph on auto-refreshing #17212

Open

Description

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

Metadata

Assignees

No one assigned

    Labels

    Feature:VegaVega visualizationsTeam:VisualizationsVisualization editors, elastic-charts and infrastructureenhancementNew value added to drive a business resultimpact:needs-assessmentProduct and/or Engineering needs to evaluate the impact of the change.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions