MongoDB Charts – chart cumulative growth?
问题 Using MongoDB Charts, how can I chart cumulative growth? Using the _id value of a document which contains the information of when it was created, I'd like to chart the number of documents in my database over time. E.g., if in July 10 documents were created, and in August another 10 were created, then the chart should display 10 for July and 20 for August. It's easy to bin document creation dates per months (see below example), but I'd like to turn this into a cumulative growth chart. MongoDB