Adding space between Navigation bar and legend in pie chart(highcharts) -


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             }] }); 

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   }, 

http://jsfiddle.net/6kjuf1aa/1/


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -