Pie Chart Algorithms?

Dave Cragg dcragg at lacscentre.co.uk
Tue Feb 28 16:37:24 EST 2006


On 28 Feb 2006, at 21:29, Sivakatirswami wrote:

> OK, was musing to make a simple pie chart: make a circle and set up  
> the center point as a fixed variable and the point on the circle as  
> the dynamic variable and draw radius lines programatically: seems  
> simple enough.. but:
>
> 1) draw circle graphic with shift key down to constrain to perfect  
> circle
> 2) name it "oval1"
> 3) msg box: put the points of grc "oval1"
>
> result: nothing
>
> I'm missing something... Where to go from here?

You might want to look at the arcAngle and startAngle properties for  
ovals.

Cheers
Dave



More information about the use-livecode mailing list