[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 realize that a polyline is a shortcut for multiple path operations.
However, I want to capture the motion of the pen.
Pranav 





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[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  
color-rendering=optimizeSpeed, but this had no effect in my two  
browsers (Mac/Safari 4.1.3 and Mac/Opera 10.63). Any ideas?
—Ken Nellis



-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[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 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  
 color-rendering=optimizeSpeed, but this had no effect in my two  
 browsers (Mac/Safari 4.1.3 and Mac/Opera 10.63). Any ideas?
 —Ken Nellis







-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



[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...@... wrote:

 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 nellisks@ wrote:
 
  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  
  color-rendering=optimizeSpeed, but this had no effect in my two  
  browsers (Mac/Safari 4.1.3 and Mac/Opera 10.63). Any ideas?
  —Ken Nellis
 







-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



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 need to plot them. The graphs could
 be line graphs, pie charts or bar graphs.
 
 I realize that a polyline is a shortcut for multiple path operations.
 However, I want to capture the motion of the pen.

The big difference is that a polyline can only draw connected line
segments. Depending on your data, this can handle both line graphs and
bar graphs. If you need disconnected lines, you will need multiple
polyline elements.

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 more, you should
invest the time to learn the path element.

G. Wade
-- 
If there's no solution, there's no problem. -- Rick Hoselton




-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/