elasticsearch/kibana — pull request #2366 by lucamilanesio (2014-12-17 15:24:11+00:00)
Title: [BugFix] Legend terms value should follow the chart precision

I know this is still Kibana3 and pull requests are no more accepted
but this is a quite annoying bug and it is very simple to fix: the
legend term values with a ridiculous number of decimal digits
instead of truncating according to the panel precision decimals.

If anyone is still using Kibana3, they can benefit from this useful
fix.