Custom approximation function
I would like to have an approximation function in which we can access all the information from the points instead of just the y values. This allows me to not only decide how to group but also an ability to capture information from all the points into the grouped point.
24
votes
![](https://secure.gravatar.com/avatar/928c9da54c63f445a7d1ebf85f5c62b9?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
As of the next release, we have implemented a hook for getting the raw data for data grouping. See http://jsfiddle.net/xfLLr03a/.
-
Juuso Palander commented
This would enable calculating weighted average also, which is currently lacking as far as I know.