it would be good if you shared your solution with the list that way its in archive future use and some of us might learn something
cheers Garry --- In svg-developers@yahoogroups.com, "acl_svg" <[EMAIL PROTECTED]> wrote: > > > > We have found another way to represent this type of graphics (with M > and L commands) and the Pie Chart can be visualized in a PDA without > mistakes. > > thank you very much for your help. > > > --- In svg-developers@yahoogroups.com, "Garry Haywood" <[EMAIL PROTECTED]> wrote: > > > > there was also a very good thread a few weeks ago which solved my > > problem with pie charts, but specifically helped me to understand the > > use of arcs and ellipses > > > > http://groups.yahoo.com/group/svg-developers/message/51838 > > > > hope this helps > > > > > > > > --- In svg-developers@yahoogroups.com, "Doug Schepers" <[EMAIL PROTECTED]> > > wrote: > > > > > > Hi, acl- > > > > > > You can use another path command, like C or Q. You'll need to do > > some math > > > to calculate exactly how to make a proper arc segment, but this > > file should > > > help: > > > http://www.kevlindev.com/samples/tmp/circles.svg > > > > > > It is the result of a thread here a while back about the various > > ways to > > > draw a circle in SVG. > > > > > > Regards- > > > Doug > > > > > > [EMAIL PROTECTED] > > > www.vectoreal.com ...for scalable solutions. > > > > > > > > > acl_svg wrote: > > > | > > > | I want to visualize a Pie Chart in a PDA. > > > | For the time being, I couldn't find the way to see them correctly. > > > | I have tried several alternatives to represent Pie Chart > > > | using the <path> label, with the commands "A absolut" and "A > > > | relative", and I don't understand why I can't visualize it > > > | without mistakes. > > > | > > > | ------- Example 1 ------------- > > > | > > > | <path d="M 350.0 150.0 A 100.0 100.0 0 0 0 301.83905169687813 > > > | 64.48559934625983 L250.0,150.0 z" > > style="stroke:black;fill:#FFC800"/> > > > | > > > | <path d="M 301.83905169687813 64.48559934625983 A 100.0 100.0 0 0 > > 0 > > > | 215.4630724536883 56.15331313434227 L250.0,150.0 z" > > > | style="stroke:black;fill:#0000FF"/> > > > | > > > | <path id="sector2" d="M 215.4630724536883 56.15331313434227 A > > > | 100.0 100.0 0 0 0 159.9028399982932 106.61219342226616 > > > | L250.0,150.0 z" > > > | style="stroke:black;fill:#FF0000"/> > > > | > > > | ... > > > | ------- Example 2 ------------- > > > | > > > | <path d="M15,200 a150,150 0 1,0 300,0 z" fill="red" > > stroke="blue" > > > | stroke-width="1" /> > > > | <path d="M60,90 a150,150 0 0,0 -50,100 l150,0 z" fill="yellow" > > > | stroke="blue" stroke-width="1" /> > > > | <path d="M320,190 a150,150 0 0,0 -250,-100 l100,100 z" > > > | fill="green" stroke="blue" stroke-width="1" /> > > > | > > > | ------- ------- ------------- > > > | > > > | I have also tried to represent the graphics using Path cubic > > bezier > > > | command: Q, C... but I couldn't generate the same result as I > > > | get when I use the "A" > > > | command to create a Pie Chart to visualize it in a PC. > > > | > > > | I'd like to know if someone has tried to represent a similar > > > | graphic in a PDA. If there is any posibility to visualize it, > > > | I would like to know it. > > > | (a PieGraphic example: http://www.germane- > > > | software.com/software/SVG/SVG::Graph/images/pie.svg) > > > | Finally, I would like to discover other posibilities to > > > | represent Pie Chart without using "A" command in order to try > > > | if it's possible to get a suitable result in a PDA. > > > | Thanks. > > > | > > > | > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -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/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/