-
Notifications
You must be signed in to change notification settings - Fork 163
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
Generate Charts from Views? #50
Comments
@cosbgn can you be more descriptive. How do you store the data inside the view? Is it in a list or something else? If possible give me an example, can be pseudo-code. |
Hi @atodorov thanks for the quick response. So for example one chart I would like to have is a simple line chart with sessions (Y-axis) and date (X-axis). The API gives me data back in this format: https://gist.github.com/Cosbgn/526f5fd7150c4065b9fa4e54909ebb78 My first approach is to have several functions in my |
I concluded that the best way is to save data in my db and use that to load charts. Thanks. |
Duplicate of #21. Not possible at the moment. I've been planning to work on it for quite a while but haven't managed to find the time. Feel free to open a PR or pm me if you'd like this to happen sooner. |
I'm going through the documentation but I'm a bit confused on one thing. On all the examples charts are generated from data on models.
I'm using an API (in my
views.py
) to retrieve data and I would like to generate charts on the fly without the need to save this data to my db. Is this possible? Any example that uses data from the views?Thanks
The text was updated successfully, but these errors were encountered: