Cumalive sum

Hi,

I think there is a way to do this, but i'm unsure of the syntax. so lets say i have 3 buckets.

day 1
bucket 1 = 200
bucket 2 = 300
bucket 3 = 400

day 2
bucket 1 = 300
bucket 2 = 400
bucket 3 = 50

So if i created a line graph, i'd like it to show over the course of the week, i like to see a dot for bucket 1 starting at 200 and ending at 500

for bucket 2, the line starting at 300 and ending at 700

bucket 3 a line starting at 400 and ending at 450.

right now, the line graph is plotted by the value and not the cumlative value.

i see this reference, but i don't quite know how to incorporate this into kibana.

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-cumulative-sum-aggregation.html

Pipelines aren't currently integrated into KB, so I don't think there is an easy way to do this.