You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using django-slick-reporting to render graphs, particularly the ReportGenerator class so that I can send the graph data as a json and then render a graph on the frontend.
I'm trying to render a graph that shows the cumulative value for a particular field. (The red line graph from the below image)
How can we calculate the cumulative value using django-slick-reporting?
Thanks
The text was updated successfully, but these errors were encountered:
Hello @nithishnaidu
For the cumulative sum you'd need to do this part of the calculation yourself by looping over the dataset.
Sorry, so far did not find a better way yet :)
You can do it via custom calculation fields but that would be much less efficient.
Hey,
I'm using django-slick-reporting to render graphs, particularly the
ReportGenerator
class so that I can send the graph data as a json and then render a graph on the frontend.I'm trying to render a graph that shows the cumulative value for a particular field. (The red line graph from the below image)
How can we calculate the cumulative value using django-slick-reporting?
Thanks
The text was updated successfully, but these errors were encountered: