Print line with stroke-dasharray
to PDF create different behavior, please
look at the image here.
Picture A, a screenshot I took directly from the browser (Chrome). Picture B is the printed PDF from the same page.
Notice the difference in Picture B, there's a thin line between the dash, this happens in Chrome or PhantomJS (probably WebKit related?) and not happen in Firefox.
What I trying to do is export this kind of chart to PDF, but as you can see strokoe-dasharray
not printed properly.
That picture above I took from this MDN page, Is there anything I can do to fix this?
fill="none"
, thanks for point it out. Now it's fixed. – Marcelinomarcell