allow to plot multiple charts in the same view

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