fix parsing of chart Y values

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