added css legend{position:relative; left:50%}