set legends on add docker backend