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=(bottom right outside) mode=protect across=1;