Closed
Description
If the difference between the smallest and largest values in the domain is small relative to their absolute value, then log.ticks can return the empty array. For example:
d3_scale.log().domain([42, 43]).ticks(); // []
In this case, it’d probably be best for the log scale to fallback to the behavior of a standard linear scale. Although, it’s probably appropriate to continue to use an exponential tick format?
Metadata
Metadata
Assignees
Labels
No labels