The Daily Click ::. Forums ::. Klik Coding Help ::. Draw Line Graph at runtime
 

Post Reply  Post Oekaki 
 

Posted By Message

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
12th October, 2010 at 20:54:03 -

Hi all how can i do this??

I have already managed to plot the points for the line graph. i just want join them up using a line. any one got any ideas?

 
n/a

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
12th October, 2010 at 21:17:54 -

use a loop to go through each point from left to right. Choose groups of two points and use either an active with a changable XScale or an extension such as Surface object to draw a line between the points for each group? I think that would work (for linear lines).

 
n/a

Spitznagl

Cabinetmaker

Registered
  06/12/2008
Points
  4260

The SpinsterVIP MemberHas Donated, Thank You!Picture Me This Round 29 Winner!Picture Me This Round 31 Winner!Picture Me This Round 36 Winner!
12th October, 2010 at 21:57:07 -

The Overlay Redux object and its draw line action would work if it doesn't need to be animated.

 
...

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
13th October, 2010 at 00:17:52 -

Thanks Sumo!!! Perfect. Didn't have the surface object so downloaded it and it works brilliantly. Nice One!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click