Skip to content

feat(charts): time axis for line charts #1159

Description

@ZhuchkaTriplesix

Problem

The line chart uses the row number as X (FlSpot(i, value)); X labels are strings. Dates and timestamps are spaced evenly no matter the real gaps, and the axis does not show time.

Scope

  • Detect date / timestamp X columns (from columnDataTypes when available, otherwise by parsing ISO dates).
  • Time X axis: points at real positions, tick labels with a format picked from the range (hours / days / months), sorted by X.
  • Same in SVG export.

Acceptance

  • Points 2026-01-01, 2026-01-02, 2026-03-01: the gap between the 2nd and 3rd is ~58× the first.
  • Non-date X keeps today's behaviour.
  • Unit tests for detection and tick formatting.

Activity

  1. added
    enhancementNew feature or request
    uiUser interface components and widgets
    data-gridInteractive data grid, cell editor, filtering, groupings
    P3Low priority / Polish & Enhancements
    on Oct 8, 2026
  2. ZhuchkaTriplesix commented on Oct 9, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    Closed by #1225. Acceptance covered by tests on dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority / Polish & Enhancementsdata-gridInteractive data grid, cell editor, filtering, groupingsenhancementNew feature or requestuiUser interface components and widgets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions