jsxgraph axis label positioning
HTML
<link rel="stylesheet" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css">
<script src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<div id='box' class='jxgbox'></div>
CSS
#box {
width:500px;
height:500px;
}
JavaScript
var board = JXG.JSXGraph.initBoard('box', {boundingbox: [-1,12,12,-1], showCopyright: false, shownavigation: false,});
board.create('axis', [[0, 0], [10, 0]], {withLabel: true, name: "Quantity", label: {offset: [400,-30]}});
board.create('axis', [[0, 0], [0, 10]], {withLabel: true, name: "Price", label: {offset: [-40,30]}});
board.create('point', [5,5], {withLabel: true, name: "Test", label: { offset:[50,-20]}});