#19 GIBS-542 Added option and support for horizontal legends