stroke() should take color from lineColor attribute.
Change XYLineRenderer to draw lines as paths by default.