stacked colour scale; endSpacing by default; array utils