Edit report at https://pear.php.net/bugs/bug.php?id=16992&edit=1
ID: 16992
Updated by: daniel.oconnor@gmail.com
Reported By: dccoao13 at yahoo dot com
Summary: dotted lines do not show up in SVG
Status: Open
Type: Bug
Package: Image_Canvas
Operating System: Debian
Package Version: CVS
PHP Version: 5.3.1
Roadmap Versions:
New Comment:
Hey Steve, can you perhaps fork / do a pull request on github for that
specific
change if possible?
The sample link you mentioned is now 404 -
https://github.com/veggerby/image_graph-samples is where the content
lives.
Previous Comments:
------------------------------------------------------------------------
[2010-01-13 16:13:22] daveo
I looked at the XML in the SVG file. If you add the following entries
to the "style" attribute, the dotted lines will work:
stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:1;stroke-dasharray:2,2;stroke-dashoffset:2;
------------------------------------------------------------------------
[2010-01-13 16:05:22] daveo
Description:
------------
Dotted lines appear in PNG, but do not appear in SVG.
Test script:
---------------
Use Veggerby's demo: http://pear.veggerby.dk/samples/code/id/misc01/
Note the dotted lines in the bar graph connecting the markers (X, +, and
star icons).
Expected result:
----------------
Dotted lines appear in SVG.
Actual result:
--------------
No dotted lines in SVG.
------------------------------------------------------------------------