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

2010-12-29 Thread Pranav Lal
Hi, snip A path, on the other hand, is much more general. A path can do everything a polyline can do, plus several kinds of curve, plus discontinuities in lines, and more. If you have a simple set of points to generate a line graph, the polyline is probably fine. If you are going to do much

[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

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