解决方案 »

  1.   

            xAxis: [{
                //tickPlacement: 'on',
                startOnTick: true,
                endOntick: true,
                lineColor: "#000000",
                title: 
                { text: '時刻',
                  style: {
                      color: '#000000'
                  } 
                },
                type: 'datetime',
               // tickInterval: 60 * 60 * 1000,
                 tickPixelInterval: 50,
                 labels: {
                    y:20,
                    style: {
                        fontSize: '12px',
                        color: '#000000'
                    },
                   // min:0,
                    rotation: -45, 
                    tickLength: 10,
                    formatter: function() {
                        return Highcharts.dateFormat('%H:%M', this.value);
                    }
                    
                }
            },
            {   
                //tickPlacement: 'on',
                startOnTick: true,
                endOnTick: true,
                lineColor: "#000000",
                title: 
                { text: '時刻',
                  style: {
                      color: '#000000'
                  } 
                },
                type: 'datetime',
               // tickInterval: 60 * 60 * 1000,
                tickPixelInterval: 50,
                 labels: {
                    y:20,
                    style: {
                        fontSize: '12px',
                        color: '#000000'
                    },
                    //min:0,
                    rotation: -45, 
                    tickLength: 10,
                    formatter: function() {
                        return Highcharts.dateFormat('%H:%M', this.value);
                    }
                    
                }
            }],这是设置的两个x轴,改来改去怎么都不行