[frontend] aligments adjustments.
[frontend] adjust upercase for legends.