Closed nVitius closed 3 years ago
This is great work @nVitius thank you for this.
@ghalex Thanks for merging my PR I saw that you bumped the version in the package file, but it hasn't been published to npm yet. Can you update here when you've had a chance to do that?
I see something is not working with the publish pipeline after you removed the package-lock.json. I will take a look these days and fix it.
This patch adds a way to add more advanced configuration to an Axis. Also, I was having an issue with the text on the Y axis getting clipped. Found out it was because the values for the axis size were fixed. I added a ResizeObserver to both the X and Y axis that will update the config for the axisSpace. I've also cleaned up the TypeScript types a bit.
I added a commit to remove the lockfile from the lib. Lockfiles shouldn't be committed to npm packages: https://www.twilio.com/blog/lockfiles-nodejs