[svg-developers] path vs. polyline when drawing dynamic graphs

2010-12-28 Thread Pranav Lal
Hi all, Apologies if this message is convoluted. If I am dynamically generating graphs, is it better to use the polyline element or the path element to plot the graphs? I am getting pairs of x and y coordinates and need to plot them. The graphs could be line graphs, pie charts or bar graphs. I

[svg-developers] anti-aliasing fill

2010-12-28 Thread Kenneth Nellis
In SVG renderings, where, for example, two non-rotated rectangles of solid but different colors abut, I see a single line of pixels at the border that I attribute, perhaps erroneously, to anti-aliasing. I wish to know what I can do to eliminate this artifact. I tried svg

[svg-developers] Re: anti-aliasing fill

2010-12-28 Thread Kenneth N
Never mind! I kept looking after my post and found the answer: svg shape-rendering=crispEdges —Ken Nellis --- In svg-developers@yahoogroups.com, Kenneth Nellis nelli...@... wrote: In SVG renderings, where, for example, two non-rotated rectangles of solid but different colors abut, I see a

[svg-developers] Re: anti-aliasing fill

2010-12-28 Thread Kenneth N
My excitement was short-lived. While I want to disable anti-aliasing for vertical and horizontal borders, anti-aliasing makes diagonal or curved borders much better. So, I am still looking for ideas for dealing with this. —Ken Nellis --- In svg-developers@yahoogroups.com, Kenneth N nelli...@...

Re: [svg-developers] path vs. polyline when drawing dynamic graphs

2010-12-28 Thread G. Wade Johnson
On Tue, 28 Dec 2010 18:51:38 +0530 Pranav Lal pranav@gmail.com wrote: Hi all, Apologies if this message is convoluted. If I am dynamically generating graphs, is it better to use the polyline element or the path element to plot the graphs? I am getting pairs of x and y coordinates and