Open nithishnaidu opened 3 years ago
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