-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"domainPadding" not working when "domain" is set #648
Comments
It seems this is still an issue, or at least I'm having the same problem (could be user error ;) but I figured I'd try to see what's going on here). I'm using Victory Charts version 24.5 The chart I'm making renders data based on the time range selected by the user along with whether they want to see transfers or transactions for that date range. The first image has the default date range (start of day to now) and it has no data as there were no transfers/transactions made. It has the right domain padding for the x axis only and doesn't show six ticks though six could fit nicely with the space given. If I click a date range where there is data to show, the domain padding is wrong (see second image) The domain padding doesn't seem to do anything for the y axis. Even if I change my code to explicitly note the domain padding for the x and y.
|
It seems that when setting an explicit
domain
thedomainPadding
prop is not respected anymore. I've made a quick gif demonstrating this issue in a VictoryBar with the live demo:The text was updated successfully, but these errors were encountered: