I can't get the logic to work.
This should work, I think:
- create svg element
- ppend circle with .call(drag)
- define var drag with function dragmove
- in function dragmove, move the circle.
However, I can't get this logic to work in any real way.
However, I can get this work:
- define drag and include a function draw()
- create svg element
- create function draw()
- inside this create a box and bind some data to it.
- create this gEnter variable that binds the call(drag)
- "transform" and "translate" the box
- append a circle to the gEnter variable.
- Then at the end run the draw() function again.
This works for a single object and for hard coded groups but I can't get it to work for array coded data.
Why???
Arghhh!!!!!
Very frustrating because I feel that I am VERY, VERY close to making all this work......
No comments:
Post a Comment