diff --git a/ui/src/shared/components/Dygraph.js b/ui/src/shared/components/Dygraph.js index 7bdb8d0441..8a20384437 100644 --- a/ui/src/shared/components/Dygraph.js +++ b/ui/src/shared/components/Dygraph.js @@ -100,12 +100,12 @@ export default class Dygraph extends Component { strokeWidth: 2, highlightCircleSize: 5, }, - unhighlightCallback: e => { + unhighlightCallback: () => { legendContainerNode.className = 'container--dygraph-legend hidden' // hide // this.isMouseOverGraph = false }, - highlightCallback: (e, x, points, row, seriesName) => { + highlightCallback: e => { // Move the Legend on hover const graphRect = graphContainerNode.getBoundingClientRect() const legendRect = legendContainerNode.getBoundingClientRect()