高位折线图xAxis日期时间正在向下采样

Highstock line chart xAxis datetime being sampled down

本文关键字:采样 时间 折线图 xAxis 日期 高位      更新时间:2023-09-26

我有一个高股价折线图,显示给定股票的每日和每周股价。问题是,当数据阵列足够大时,每日数据点被"采样"为每周数据点,每周数据点被采样为每月数据点。

有办法防止这种情况发生吗?

如有任何帮助,我们将不胜感激。

尝试将启用的dataGrouping设置为false

// other settings here
plotOptions : {
    area : { // change this to the chart type you use
        dataGrouping : {
            enabled: false
        }
    }
}
// other settings here