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

Chart in a view #132

Open
ConteFede opened this issue Feb 6, 2025 · 2 comments
Open

Chart in a view #132

ConteFede opened this issue Feb 6, 2025 · 2 comments

Comments

@ConteFede
Copy link

I have a query in Postman where I get data from a view with the following url GET,
{{base-path}}/sites/{{site-id}}/views/:view-id/data
But I only get the first chart element that appears in the view. I can't access the remaining graphs. I'm looking for a solution to access the data, since the PDF is from the entire view, but the /data is not.

@jacalata
Copy link

jacalata commented Feb 6, 2025

Unfortunately this is a limitation of the underlying API, as documented online:

If the request is for a dashboard, only data for the dashboard's first view is returned.

@ConteFede
Copy link
Author

ConteFede commented Feb 6, 2025

Yes, you are right, the first view is the first chart in the dashboard.
What order does it use? Isn't there a way to make the element/layer active before the request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants