set highchart margin
- by user1392330
I have built a a higcharts charts and I am displaying them one at a time
on mouseover.
The jquery creates a floting div (depending on the cursor) with a border line
1px solid black
and then the highchart method is being called to draw the chart.
The thing is that highcharts exceed and left and bottom border is not shown.
I tired 'margin' :
chart:
{
renderTo: 'graph',
defaultSeriesType: 'line',
zoomType: 'x',
margin: [ 10, 10, 10, 10]
},
and still it does the same thing.