Difference between revisions of "Fine tuning of labels"

From JSXGraph Wiki
Jump to: navigation, search
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 12:23, 9 April 2014

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

The underlying JavaScript code