Update Legend to retrieve colors from meta-data of svg document.