legend border edit for style 2