Hi,
I can see 2 cases:
- dots along a line or a curve:
you can simply use CSS styles, for example: rounded dots:
fill: none; stroke: #000; stroke-width: 1.5; stroke-linecap: round;
stroke-dasharray: 0,3;
- area filled with dots:
you can use a pattern:
<defs>
<pattern id="myDotPattern" width="5" height="5"
patternUnits="userSpaceOnUse">
<circle fill="black" cx="1" cy="1" r="0.75"/>
</pattern>
</defs>
<rect style="fill:url(#myDotPattern)" width="100" height="50"/>
HTH,
Pascal
jonathan wood a écrit :
Use a circle or rect with a size that fits the coord system that you
need to use. Because of scalability, the "width" of a point is fairly
meaningless.
On Tue, Dec 22, 2009 at 8:06 AM, dao <[email protected]
<mailto:[email protected]>> wrote:
hello,
Is it possible to draw a point with SVG? polylines, paths, etc...
seems not appropriate to do that. Do I need to draw a rect or
circle with a size of 0 (or 1)?
I want to draw a chart representing a set of points not linked
together
regards,
--
Dao Hodac
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]