-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When the data only contains integers, it would be great if the default tickFormat would not do "1.0, 2.0, 3.0"… but rather "1, 2, 3".
In #849 I hoped that indicating an integer interval would be used, in this case to infer an intent of only having integers. (Similarly, if we used interval: d3.utcYear we'd rather format the ticks as "%Y", and d3.utcMonth would result in a default of "%Y-%m" or something.)
Example: the test plot integer-interval.js (svg) should have inferred an integer tickFormat for the x axis. (See also the discussion here.)
Also related to #768
yurivish, jkenzer, hellonearthis, mbostock, mishatsvelik and 3 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request