omit empty charts

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