- Added horizontal layout for legends and configuration options for the
  same