Good Day

I have two objects left with the print template, one is to centre the legend and the other is to remove the text under the scale, is it possible to do both of those things?
My current template object:
const template = new this.PrintTemplate({
format: 'jpg',
layout: 'a4-landscape',
layoutOptions: {
authorText: '',
copyrightText: '',
customTextElements: [{
'description': '',
'location': ''
}],
titleText: titleText
},
attributionVisible: false,
showLabelsBoolean: false,
}); If it's not possible, that's fine.
Thanks