0
http://jsfiddle.net/6kjuf1aa/增加空间
Highcharts.chart('container', {
chart: {
width: 458,
height: 98
},
title: {
text: ""
},
legend: {
align: 'center',
verticalAlign: 'middle',
layout: 'vertical'
},
tooltip: {
pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
},
plotOptions: {
pie: {
startAngle: 0,
endAngle: 360,
center: ['10%', '80%']
}
},
series: [{
type: 'pie',
name: 'hi',
innerSize: '75%',
data: [
{
y: 23,
name :"abc"
},
{
y: 23,
name :"abc"
},
{
y: 23,
name :"abc"
}
,
{
y: 23,
name :"abc"
},
{
y: 23,
name :"abc"
},
{
y: 23,
name :"abc"
}
],
showInLegend: true
}]
});
是否有移动的导航栏底部,并给出了传说更多空间的方式,这样可以显示更多的图例项 我如何做到这一点?
我想通过移动导航栏
你也可以减少itemStyle.fontSize,itemMarginTop和itemMarginBottom:http://jsfiddle.net/6m3arcs5/。 –