当我的饼图有很多时,最外层的div比提示框还要小时,配置style在火狐和谷歌下没有作用.
显示如下:但是在IE下面是好的:我修改了
char:{
    style:{
  position:"relative",
  overflow:"visible"
    }
}
我在谷歌浏览器中看过这个的css样式,发现大致问题,当不知道怎么去修改...
求各位大神帮忙策划....hightcharsjavascriptwebjscss

解决方案 »

  1.   

        $('#'+id).highcharts(barChar={
            chart: {
                 plotBorderWidth: null,
                 plotShadow: false,
                 style:{
                  position:"relative",
                  overflow:"visible"
                 }
            },
            colors : ['#AA1919','#2F7ED8'],
            labels :{
             style: {
                        fontSize: '13px',
                        fontFamily: 'Verdana, sans-serif'
                    }
            },
            title: {
                text: charData['title'],
                verticalAlign:'bottom',
                y:10
            },
            tooltip: {
             pointFormat: '{point.name}:<b>{point.percentage:.1f}%</b>',
             style :{
              position:"relative",
              overflow:"visible"
             },
             borderWidth  : '1px',
             shared  : true
            },
            plotOptions: {
                pie: {
                    allowPointSelect: true,
                    dataLabels: {
                        enabled: true,
                        color: '#000000',
                        distance: -2,
                        connectorColor: '#000000',
                        format: '{point.percentage:.1f} %'
                    }
                }
            },
            series: [{
             type: 'pie',
                data:charData['data']
            }]
        });