Second Try at Graphs
Posted: Sat Oct 04, 2008 11:17 am
This morning I though I had cracked it - drew
a nice curved graph and even figured out how to
delete all those graphic objects!
This afternoon a different story. After trying to
figure out why one of the buttons on my current
project didn't do what it was supposed to do after
half an hour I finally found the answer - the
"on mouseUp" line had disappeared from the
handler. Disappearing buttons, groups that
aren't groups, an editor that has it's own ideas
on how to code...really is too much.
Anyway, back to the graphs.
At the end of a day I have points in
an array such as
[1]5.2
[2]10,4
[3]10,4
[4]15,6
which I put in a loop in pairs to
get the points... 5,2 return 10,4
10,4 return 15,6
and so on which should give me a
decent graph.
This morning they gave a nice curve.
This afternoon all I get is a series of
lines 128 wide and 32 high all in the
same position. Same code,
same everything.
Anyone know what gives?
a nice curved graph and even figured out how to
delete all those graphic objects!
This afternoon a different story. After trying to
figure out why one of the buttons on my current
project didn't do what it was supposed to do after
half an hour I finally found the answer - the
"on mouseUp" line had disappeared from the
handler. Disappearing buttons, groups that
aren't groups, an editor that has it's own ideas
on how to code...really is too much.
Anyway, back to the graphs.
At the end of a day I have points in
an array such as
[1]5.2
[2]10,4
[3]10,4
[4]15,6
which I put in a loop in pairs to
get the points... 5,2 return 10,4
10,4 return 15,6
and so on which should give me a
decent graph.
This morning they gave a nice curve.
This afternoon all I get is a series of
lines 128 wide and 32 high all in the
same position. Same code,
same everything.
Anyone know what gives?