Google style chart - interactive: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 28: | Line 28: | ||
p.rendNode.onclick = function() { | p.rendNode.onclick = function() { | ||
var v = prompt("New value:", p.Y())*1.0; | var v = prompt("New value:", p.Y())*1.0; | ||
p.setPosition(JXG.COORDS_BY_USER, p.X(), v); | |||
y[p.num] = v; | y[p.num] = v; | ||
brd.update(); | brd.update(); |