如何保持3D可拖动列高图的数据标签?

时间:2015-12-11 14:53:03

标签: highcharts

我有一个3D可拖动的列高清图,当我拖动图表时,数据标签会移动到整个地方。有没有办法让它们贴在酒吧的顶部?

     $(function() {
  var chart = new Highcharts.Chart({
    chart: {
      renderTo: 'container',
      margin: 100,
      type: 'column',
      options3d: {
        enabled: true,
        alpha: 10,
        beta: 30,
        depth: 250,
        viewDistance: 5
      }
    },
    plotOptions: {
      column: {
        grouping: false,
        groupZPadding: 40,
        depth: 25
      }
    },
    legend: {
      enabled: false
    },
    series: [{
      name: 'Reading',
      stack: 1,
      data: [
        [6]
      ],
      dataLabels: {
        enabled: true
      }
    }, {
       ....other series data.....
    }]
  });

JS Fiddle Sample code

0 个答案:

没有答案