Consistent SI-prefix for ticks. Fixes #1746.
When a SI-prefix format (type "s") is passed to scale.tickFormat, compute a suitable SI-prefix based on the maximum value in the range, and then use that prefix for all ticks rather than computing the SI-prefix on a per-tick basis.
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment