FIX: y-axis wrongly had percentages

This commit is contained in:
GithubAnon0000 2025-04-26 16:22:04 +02:00
parent 2af2412e28
commit b98d1ce8bf

View file

@ -159,7 +159,7 @@ export function renderButtons(
// Add a timeout to ensure that the text elements are populated
setTimeout(() => {
svg.selectAll("text")
svg.select<SVGGElement>(".x-ticks").selectAll("text")
.each(function(d) {
const current_text_element = this;
const current_text_element_content = current_text_element.textContent;