f5 / unovis

Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
https://unovis.dev
Apache License 2.0
2.27k stars 44 forks source link

`tickTextAlign: 'center'` errors unless `tickTextAngle` is specified #470

Closed davestewart closed 2 weeks ago

davestewart commented 3 weeks ago

We're trying to use tickTextAlign but it seems to error unless we set tickTextAngle as well:

CleanShot 2024-10-23 at 09 32 10

Checking the stack, it appears the variable is undefined (at least) here:

CleanShot 2024-10-23 at 09 30 59

lee00678 commented 3 weeks ago

@davestewart thanks for catching this issue! I've added a fix here: https://github.com/f5/unovis/pull/473