Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to capture and store query response as property of Cedar object. #51

Open
cooney opened this issue Jan 23, 2015 · 2 comments
Open

Comments

@cooney
Copy link

cooney commented Jan 23, 2015

Would be nice to have the option of storing the query response to save an additional request.

Use case:
For story maps, we might like to drive the map interaction based on the chart. Present the user with a chart, zoom to feature with greatest value. Update chart with new query, zoom to new feature with greatest value.

@ajturner
Copy link
Member

@cooney I'm not sure that I exactly understand what you need "stored".

Do you mean that you could query the chart for it's data?

@cooney
Copy link
Author

cooney commented Feb 18, 2015

@ajturner I was thinking that having access to the query response that vega uses to render the chart could be useful. If we were doing the top 10 carbon emission countries with a bar chart, we might also want to highlight those countries on a map with a graphics layer, or zoom to the extent of the top emitting country. So instead of potentially making an additional (and identical) request for this info, we could utilize the one already made to populate the chart.

@tomwayson tomwayson added the v0x label Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants