Skip to content
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

forceNiceScale doesn't seem to take effect: #526

Closed
mitya33 opened this issue Sep 29, 2024 · 1 comment
Closed

forceNiceScale doesn't seem to take effect: #526

mitya33 opened this issue Sep 29, 2024 · 1 comment

Comments

@mitya33
Copy link

mitya33 commented Sep 29, 2024

With a column chart, I have Y-axis options set as follows:

	yaxis: {
		min: 0,
		max: maxYAxis.value,
		stepSize: maxYAxis.value / 10,
		forceNiceScale: true
	},

Yet I still get steps on my Y-axis like 24.2, 37.5 etc. Shouldn't forceNiceSale: true prevent that?

@junedchhipa
Copy link
Contributor

You have used min, max and stepSize - all variables to generate the y-axis. In this case, forceNiceScale is ignored and user provided values are used to generate the scale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants