Hey all, I'm working with a function called drawgrowingpie that includes a segment function for drawing pie charts (from an example on raphaeljs.com). My goal is to assign a unique color to each segment of the chart using an array called clr. However, I'm struggling with assigning multiple colors from the array to each hsb attribute of the segments. Can anyone provide guidance or suggestions on how to accomplish this?
If you want to take a look at what I mean, check out this link: http://jsfiddle.net/6hzfH/