Define legend characteristics. LABEL= assigns new text to the legend label. CBORDER= draws a black frame around the legend.
legend1 cborder=black
        label=('Quarter:')
        position=(middle left outside)
        mode=protect
        across=1;