allow to specify legendLayers on the legend panel as well to control sequence