mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 15:55:54 +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',
|
position: 'custom',
|
||||||
|
itemSort(item1, item2) {
|
||||||
|
return item2.parsed.y - item1.parsed.y;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
[dragSelectPluginId]: createDragSelectPluginOptions(
|
[dragSelectPluginId]: createDragSelectPluginOptions(
|
||||||
!!onDragSelect,
|
!!onDragSelect,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user