Skip to content

Commit

Permalink
fix: use the tick time in the x axis instead of update time
Browse files Browse the repository at this point in the history
  • Loading branch information
SayakMukhopadhyay committed Sep 15, 2022
1 parent d2e08cc commit aa211a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/charts/TickChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default {
`${firstTickMoment.format('YYYY-MM-DD')} ${tickMoment.format('HH:mm:ss:SSSZZ')}`,
'YYYY-MM-DD HH:mm:ss:SSSZZ'
)
data.push([Date.parse(tick.updated_at), Date.parse(normalisedTime.toISOString())])
data.push([Date.parse(tick.time), Date.parse(normalisedTime.toISOString())])
})
data.reverse()
series.push({
Expand Down

0 comments on commit aa211a0

Please sign in to comment.