We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to use d3scale.scaleOrdinal(...) with d3axis.axisLeft but running into a type problem.
d3scale.scaleOrdinal(...)
d3axis.axisLeft
OrdinalScale
ContinuousScale[OrdinalScale]
LogScale
LinearScale
How I'm using it:
val jobs: js.Array[String] = js.Array("Job A", "Job B", "Job C", "Job D", "5", "6", "7", "8", "9", "10") val y_scale = d3scale.scaleOrdinal(d3.schemeCategory10).domain(jobs) val y_axis: d3axis.Axis = d3axis.axisLeft(y_scale)
Gives me a type mismatch for y_scale in d3axis.axisLeft()
y_scale
d3axis.axisLeft()
d3.Scale
d3scale.OrdinalScale
The text was updated successfully, but these errors were encountered:
Sorry, I don't have time right now to look into this. But PRs are welcome.
Sorry, something went wrong.
No branches or pull requests
Trying to use
d3scale.scaleOrdinal(...)
withd3axis.axisLeft
but running into a type problem.OrdinalScale
extendContinuousScale[OrdinalScale]
similar toLogScale
,LinearScale
, etc.?How I'm using it:
Gives me a type mismatch for
y_scale
ind3axis.axisLeft()
d3.Scale
d3scale.OrdinalScale
The text was updated successfully, but these errors were encountered: