Difference between revisions of "Polar grid"

From JSXGraph Wiki
Jump to navigationJump to search
Line 3: Line 3:
  
 
var ax1 = board.create('axis', [[0,0], [1,0]], {ticks: {type: 'polar', label: {offset:[0, -3]}}});
 
var ax1 = board.create('axis', [[0,0], [1,0]], {ticks: {type: 'polar', label: {offset:[0, -3]}}});
var ax2 = board.create('axis', [[0,0], [0,1]], {ticks: {visible: false, label: {visible: true, offset: [-6, 0]}}});
+
var ax2 = board.create('axis', [[0,0], [0,1]], {ticks: {visible: false, label: {visible: true, offset: [-6, 0], anchorY: 'middle', anchorX: 'right'}}});
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 11:35, 31 March 2020

The underlying JavaScript code