日期:2014-05-18  浏览次数:20935 次

Highcharts jquery图饼插件 增加pie圆形图饼半径问题
现在图饼太小,想半径再加大100,不怎么怎么弄,高人指点一下
chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
margin: [0, 250, 60, 170]
},
title: {
text: '2010产品销售比例分析图表'
},
plotArea: {
shadow: null,
borderWidth: null,
backgroundColor: null
},
tooltip: {
formatter: function() {
return '<b>'+ this.point.name +'</b>: '+ this.y +' %';
}
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: 'pointer',

dataLabels: {
enabled: true,
formatter: function() {
if (this.y > 3.5) return this.point.name;
},
color: 'white',

style: {
font: '11px Trebuchet MS, Verdana, sans-serif'
}
}
}
},
legend: {
layout: 'vertical',
style: {
left: 'auto',
bottom: 'auto',
right: '50px',
top: '180px'
}
},
series: [{
type: 'pie',

name: 'Browser share',
data: strS_

}]
})

------解决方案--------------------
打酱油的!mark!~
------解决方案--------------------
友情帮顶~~~~~~~~~