Browse Source

hotfix

pull/69/head
rozetko 5 months ago
parent
commit
85cd952b9f
  1. 3
      src/components/markers.ts

3
src/components/markers.ts

@ -126,8 +126,7 @@ export class Markers {
.html(marker.html);
// align tooltip: center (we need it to be rendered first)
// PS: 8px is the empiric constant to center the div ideally
div.style('left', `${linePosition + this._margin.left - div.node().getBoundingClientRect().width / 2 + 8}px`)
div.style('left', `${linePosition + this._margin.left - div.node().getBoundingClientRect().width / 2}px`)
}
protected renderSerie(serie: MarkerSerie) {

Loading…
Cancel
Save