在highcharts中设置列的宽度百分比

时间:2013-02-13 09:09:01

标签: javascript highcharts

如何在highcharts中以百分比设置列的宽度

options = {
        chart: {
            renderTo: 'container',
            type: 'column'
        },
        title: {
            text: 'Data extracted from a HTML table in the page'
        },
        xAxis: {
        },
        yAxis: {
            title: {
                text: 'Units'
            }
        },
        tooltip: {
            formatter: function() {
                return '<b>'+ this.series.name +'</b><br/>'+
                    this.y +' '+ this.x.toLowerCase()+''+this.percentage;
            }
        },
         plotOptions: {
            column: {
                pointWidth: 50
            }

        }
    };

1 个答案:

答案 0 :(得分:1)

不幸的是,不支持百分点宽度。