You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Highcharts中Windbarb与Scatter系列能否组合?问题求助

Highcharts scatter与windbarb系列组合添加异常问题

我通过WindDirectionAddSeries函数为Highcharts图表添加系列:

function WindDirectionAddSeries(thisChart) {
        thisChart.addSeries({
            name: 'AverageBearing',
            id: 'AverageBearing',
            data: AverageBearing,
            color: '#0D6D9D',
            yAxis: 'Direction',
            type: 'scatter',
            zIndex: 5,
            tooltip: {
                valueSuffix: ' '
            }
        }, false);
        thisChart.addSeries({
            name: 'WindBarbs',
            xAxis: 1,
            color: 'red',
            type: 'windbarb',
            visible: true,
            dataGrouping: {
                enabled: true,
                units: [
                    ['hour', [3]]
                ]
            },
            tooltip: {
                pointFormatter() {
                    return this.series.name + ': ' + (this.value / 0.27778).toFixed(1) + ' km/h'
                }
            },
            data: WindBarbData
        }, false);
    }

该方法对line、area等系列类型有效,但添加scatter与windbarb系列时,addSeries调用无返回,其他JavaScript异步函数出现异常,疑似内存被覆盖。已尝试精简参数但无效,现咨询:

  • 是否从根本上支持组合这两种系列?
  • 若支持,问题出在哪里?
  • 若不支持,能否提交功能需求?

内容的提问来源于stack exchange,提问作者Hans Rottier

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.12 01:31:05