improve legend style

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