set highchart margin

Posted by user1392330 on Stack Overflow See other posts from Stack Overflow or by user1392330
Published on 2012-06-20T09:14:17Z Indexed on 2012/06/20 9:16 UTC
Read the original article Hit count: 230

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about highcharts

Related posts about margin