jsxgraph icon indicating copy to clipboard operation
jsxgraph copied to clipboard

Ticks on lines with margin < 0

Open alfredwassermann opened this issue 10 years ago • 1 comments

The property "margin" allows to have small margin inside of the canvas. This is ignored by ticks- Example:

var board = JXG.JSXGraph.initBoard('jxgbox', {axis:false,
        boundingbox: [-10,10,10,-10], keepaspectratio:true, ignoreLabels: false});

var xax = board.create('axis', [[0, 0], [1, 0]], {
            withLabel: true, 
            name:'x axis', 
            label:{
                offset: [30, 10], 
                position: 'lft'
            }, 
            margin: -50
        });

alfredwassermann avatar Aug 26 '15 15:08 alfredwassermann

It may be a good idea to introduce a separate property "margin" for ticks.

alfredwassermann avatar Aug 26 '15 15:08 alfredwassermann