Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: area shape ARC

  1. #1
    Regular Coder
    Join Date
    May 2009
    Posts
    143
    Thanks
    14
    Thanked 1 Time in 1 Post

    area shape ARC

    hi guys

    simple question, hard answer :P

    I have made a php pie chart generator and it's awesome.
    I want to add clickable area map to it.
    But i'm dealing with arcs, not full circle. how can I achieve this?

    thanks

  • #2
    New Coder
    Join Date
    Jun 2007
    Posts
    49
    Thanks
    0
    Thanked 2 Times in 2 Posts
    I'd use a polygon shape and then put in the triangular points along with a number of points along the arc depending on the size of the area. It won't be perfectly round, but given enough points, it will work well enough.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •