Feature/weighted mean

From #838

Hi,
Here is an implementation of the weighted mean charts value.

Feedbacks are welcome.

Regards,