mirror of
https://github.com/klinecharts/KLineChart.git
synced 2024-11-25 16:22:43 +08:00
fix: fix time tick error
This commit is contained in:
parent
b6168b6ecb
commit
e186e7c777
@ -192,7 +192,7 @@ export default class TimeScaleStore {
|
||||
}
|
||||
}
|
||||
const tickList = this._timeTicks.get(weight) ?? []
|
||||
tickList.push({ dataIndex: i, weight, dateTime, timestamp: kLineData.timestamp })
|
||||
tickList.push({ dataIndex: i + baseDataIndex, weight, dateTime, timestamp: kLineData.timestamp })
|
||||
this._timeTicks.set(weight, tickList)
|
||||
prevKLineData = kLineData
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user