mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
This commit is contained in:
parent
c625fa086d
commit
71d981762d
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ export function VislibAxisLabelsProvider() {
|
|||
selection.selectAll('.tick text')
|
||||
.text(function (d) {
|
||||
const par = d3.select(this.parentNode).node();
|
||||
const myPos = scaleStartPad + (config.isHorizontal() ? self.axisScale.scale(d) : maxSize - self.axisScale.scale(d));
|
||||
const myPos = scaleStartPad + self.axisScale.scale(d);
|
||||
const mySize = (config.isHorizontal() ? par.getBBox().width : par.getBBox().height) * padding;
|
||||
const halfSize = mySize / 2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue