Currently, we only support legends with the cells distributed horizontally. We should add support for vertically oriented legends.