Fine tuning of labels: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 25: Line 25:


var p3 = board.create('point', [2, 3],  
var p3 = board.create('point', [2, 3],  
     {size:10,
     {size:5,  
    fillColor: 'none',
     label: {  
     label: {  
         offset: [0, 15],
         offset: [0, 10],
         anchorX: 'middle',
         anchorX: 'middle',
         anchorY: 'bottom',
         anchorY: 'bottom',

Revision as of 11:23, 9 April 2014

Center the position of labels and use custum CSS styles for labels.

The underlying JavaScript code