Add methods to set legend.itemMarginBottom/Top (#13675)

Change-Id: I3b29da7b72d8fe5bf825c2308c1fdc0be2e846c0