Additional aggregation functions

It looks like there is a pretty fixed list of available aggregation functions.

Is it possible to pass in a custom function for aggregation? If not, would you consider adding a couple of additional functions?

I believe that functions for range (i.e. max - min) and change (i.e. last - first) could be very useful for a variety of applications and would build off of functions that you already provide.

No. Plotly’s API is strictly JSON, no functions are accepted.

Yes.

Great, thank you! I will try to put together a PR for additional functions.

Here’s a github issue for further coordination: https://github.com/plotly/plotly.js/issues/2763

Thanks in advance for your consideration.