Skip to content

Date and number formatting for ordinal axis ticks. #212

Closed
@mbostock

Description

@mbostock

It’s possible to have an ordinal axis where the domain value is dates, for example with a bar chart. This isn’t a temporal axis (which is continuous), but it’d still be nice to support d3-time-format specifiers, e.g. tickFormat: "%b". Probably the axis should look at the domain values and check if they are temporal. Similarly if the domain values are numbers, d3-format specifiers should be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions