mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Right tooltip position
This commit is contained in:
@@ -96,8 +96,7 @@ export class PieChart extends PureComponent<Props> {
|
||||
})
|
||||
.on('mousemove', () => {
|
||||
select(this.tooltipElement)
|
||||
// TODO: right position
|
||||
.style('top', `${event.pageY}px`)
|
||||
.style('top', `${event.pageY - height / 2}px`)
|
||||
.style('left', `${event.pageX}px`);
|
||||
})
|
||||
.on('mouseout', () => {
|
||||
|
||||
Reference in New Issue
Block a user