1

Highcharts の最新バージョンでは、x 軸の線が予想よりも大きく、ずれています。しかし、Firebug (ページのサイズを変更する人) を開いて閉じると、x 軸は適切な場所にあります。

Firebugを開く前に:こちら

後:こちら

コードは次のとおりです。

options = {
    chart: {
        type: 'column',
        animation: false,
        renderTo: 'chart1'

    },
        xAxis: {
            categories: ['STBL','AHM OE','TCR'],
            labels: {
                rotation: -45,
                overflow: "justify",
                align: 'right',
                y: 20
            }
        },
        yAxis: {
            min: 0,
            title: {
                text: ''
            }
        },
        legend: {
            enabled: false,

        },
        tooltip: {
            formatter: function() {
                return ''+
                    this.x +': '+ Highcharts.numberFormat(this.y, 5);
            }
        },
        plotOptions: {
            column: {
                borderWidth: 0,
                pointWidth: 8
            }
        },
        series: [{
            name: '',
            data: [9.93782224348591E-4,0.0012882708991709339,0.01952599999881562]
        }]
    };
var chart1 = new Highcharts.Chart(options);

誰か助けてくれませんか?

ありがとう

4

0 に答える 0