Skip to content

Support date type / columns to allow correct spacing on continuous-axis charts #525

Description

@bioinfbloke

Is your feature request related to a problem? Please describe.
MDV doesn’t treat dates as a real column type. Date values land as text/unique, so charts with a date on X or Y either can’t use them as continuous axes or space points evenly by category instead of by calendar time. Gaps between dates (e.g. days vs months) aren’t reflected in the plot.
Per-column filters (e.g. Selection Dialog range filters that drive the table) should treat dates as a continuous range and show readable dates

Describe the solution you'd like
Store dates as numeric values ('days since Unix epoch as double') with metadata like is_date / date_unit, convert datetime on ingest, and format ticks/tooltips/tables as dates. Continuous-axis charts keep using linear scales so spacing follows real time.

Describe alternatives you've considered
Store dates as ordinals (doesn't fix spacing)
Store unix ms/seconds as float32

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions