在高图中堆积瀑布图

| 我们需要堆积的瀑布图(我们正在使用highcharts.com)。 http://fiddle.jshell.net/8JP8T/提供了创建瀑布图的选项,但我们需要创建堆栈。有人做过吗? 谢谢 !!     
已邀请:
您可以通过创建幻影系列,然后将幻影系列的不透明度设置为0,来使堆叠的条“悬浮”。
$.each(chart.series[2].data, function(i, point) {
  if (i==2) {
    point.graphic.attr({opacity: 0, \'stroke-width\': 0});
  }
}
这个小提琴说明了基本思想。请注意,您还需要关闭阴影并将showInLegend也设置为false,以获得完整的幻影效果。 http://jsfiddle.net/6UPrg/13/     
根据您的示例,您可能会对highcharts中的
stacking
属性感兴趣。
var chart = new Highcharts.Chart({
    //other properties...
    plotOptions: {
        series: {
            stacking: \'normal\'
        }
    }
});
    
http://highcharts.com/demo/column-stacked     

要回复问题请先登录注册