Fixed legend xoffset assignment
It was called for each dataSeries in previous commit