2

如何在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
            }

        }
    };
4

1 回答 1

1

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

于 2013-02-13T11:16:06.527 回答