mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 22:25:52 +08:00
feat: sorting for tooltip in graph view (#2948)
* feat: sorting for tooltip in graph view * Update index.tsx * refactor: name of the variable in itemSort --------- Co-authored-by: Palash Gupta <palashgdev@gmail.com>
This commit is contained in:
parent
555bb79866
commit
c05c939ee1
@ -181,6 +181,9 @@ function Graph({
|
||||
},
|
||||
},
|
||||
position: 'custom',
|
||||
itemSort(item1, item2) {
|
||||
return item2.parsed.y - item1.parsed.y;
|
||||
},
|
||||
},
|
||||
[dragSelectPluginId]: createDragSelectPluginOptions(
|
||||
!!onDragSelect,
|
||||
|
Loading…
x
Reference in New Issue
Block a user