Aligning text: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox: [-1,10,7,-1], axis:true, keepAspectRatio:false}); | var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox: [-1,10,7,-1], axis:true, keepAspectRatio:false}); | ||
brd.create('line', [-3, 1, 0]); | |||
brd.create('text', [3, 8, "Default"], {cssClass:'mytext'}); | brd.create('text', [3, 8, "Default"], {cssClass:'mytext'}); | ||
brd.create('text', [3, 7, "Anchor left"], {anchorX:'left', cssClass:'mytext'}); | brd.create('text', [3, 7, "Anchor left"], {anchorX:'left', cssClass:'mytext'}); |
Revision as of 07:48, 19 October 2012