fixing axis title position for firefox (#16278) (#16312)

This commit is contained in:
Peter Pisljar 2018-01-26 16:46:28 +01:00 committed by GitHub
parent 3a18bc64f9
commit 0b471df07e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ export function VislibLibAxisTitleProvider() {
return `translate(0,${height / 2}) rotate(270)`;
})
.attr('text-anchor', 'middle')
.attr('alignment-baseline', 'hanging')
.attr('dominant-baseline', 'hanging')
.text(config.get('title.text'))
.node()
.getBBox();