added default for legend align