legend aligns with left or right y axis depending on axis afinity