2017-07-03 14 views
0

グラフに表示されている凡例だけを削除し、凡例をチャートの一番下に残すにはどうすればよいですか? plotOptions.pieハイチャート:チャート上にのみ表示される凡例を削除し、下部凡例を保持

enter image description here

Highcharts.chart('operatingSystemReleaseChart', { 
       chart: { 
        plotBackgroundColor: null, 
        plotBorderWidth: null, 
        plotShadow: false, 
        type: 'pie', 
        margin: [0, 0, 40, 0], 
        spacingTop: 0, 
        spacingBottom: 0, 
        spacingLeft: 0, 
        spacingRight: 0, 
       }, 
       credits: { 
        enabled: false 
       }, 
       exporting: { 
        enabled: false 
       }, 
       title: { 
        text: "" 
       }, 
       tooltip: { 
        shared: false, 
        borderRadius: 3, 
        borderWidth: 0, 
        shadow: false, 
        enabled: true, 
        backgroundColor: 'none', 
        useHTML: true, 
        formatter: function() { 
         return '<div class="tooltipHC"><div>'+this.point.name+'</div>' + 
           '<div>Total:<b class="pull-right">'+this.y+'</b></div>' + 
           '<div>Total(%):<b class="pull-right">'+Highcharts.numberFormat(this.percentage)+' %</b></div></div>'; 
        } 
       }, 
       plotOptions: { 
        pie: { 
         allowPointSelect: true, 
         cursor: 'pointer', 
         size: "100%", 
         dataLabels: { 
          enabled: true, 
         }, 
         showInLegend: true, 
         borderWidth: 0 
        } 
       }, 
       series: [{ 
        name: 'Total', 
        colorByPoint: true, 
        data: arrayForPieChart 
       }] 
      }); 

答えて

関連する問題