Highcharts 图表在比较时变为空白:'percent' 并输入:'arearange'

Highcharts chart going blank on compare : 'percent' and type: 'arearange'

我有一个 Highcharts 图表,可以在数据范围内正确显示数据;但是当我添加另一个系列并设置比较百分比时,它变成空白。

$(function () {
// Notice that the dataset has missing data
$.getJSON('https://www.highcharts.com/samples/data/jsonp.php?filename=range.json&callback=?', function (data) {

    $('#container').highcharts('StockChart', {

        chart: {
            type: 'areasplinerange'
        },

        rangeSelector: {
            selected: 2
        },

        title: {
            text: 'Temperature variation by day'
        },
        plotOptions: {
            series: {
                **compare: 'percent'**
            }
        },
        tooltip: {
            valueSuffix: '°C'
        },

        series: [{
            name: 'Temperatures',
            data: data
        }]

    });
});
});

您可以在此处查看示例: Test sample

我在此处报告说这可能是我们的跟踪器中的错误:https://github.com/highcharts/highcharts/issues/4922