# Difference between revisions of "Circle with ticks"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 6: | Line 6: | ||

var circ = brd.create('circle', [p, q]); | var circ = brd.create('circle', [p, q]); | ||

− | var ticks = brd.create('curve', [[0], [0]], {strokeWidth: 1, strokeColor: 'blue'}); | + | var ticks = brd.create('curve', [[0], [0]], |

+ | {strokeWidth: 1, | ||

+ | strokeColor: 'blue', | ||

+ | strokeOpacity: 0.5}); | ||

ticks.updateDataArray = function() { | ticks.updateDataArray = function() { | ||

var cx = circ.center.X(), | var cx = circ.center.X(), |