parse chart values as float type

Change-Id: I3c83a2b050439f39d1c5c6dd8504a3b298067eb4
Reviewed-on: http://review.couchbase.org/25193
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>