mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 09:59:04 +08:00
fix: show timeline in decimals (#188)
This commit is contained in:
parent
2e71230bbf
commit
77abb47b4c
@ -176,8 +176,8 @@ const TraceGanttChart = ({
|
||||
}
|
||||
|
||||
let paddingLeft = 0;
|
||||
let startTime = parseInt(record.startTime);
|
||||
let duration = parseInt((record.time / 1000000).toFixed(2));
|
||||
let startTime = parseFloat(record.startTime);
|
||||
let duration = parseFloat((record.time / 1000000).toFixed(2));
|
||||
paddingLeft = parseInt(getPaddingLeft(startTime - minGlobal, maxGlobal - minGlobal, tabsContainerWidth));
|
||||
let textPadding = paddingLeft;
|
||||
if(paddingLeft === tabsContainerWidth - 20){
|
||||
|
Loading…
x
Reference in New Issue
Block a user