Adding space between Navigation bar and legend in pie chart(highcharts) -
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 }] });
is there way move navigation bar bottom , give more space legends more legend items displayed how achieve this?
i want display @ least 3 items on screen moving navigation bar
you can remove padding , margin around legend have take more space. found padding of 0 circles getting clipped, reduced size also.
legend: { align: 'center', verticalalign: 'middle', layout: 'vertical', margin: 0, padding: 0, symbolheight: 10, verticalalign: 'middle', // maxheight: 62 // if want 3, uncomment },
Comments
Post a Comment