Skip to content

Time cartesian axis has duplicate labels when the data is within the last 7 days #66

Description

@RudeySH

Expected Behavior

  1. If all the data is within the last 24 hours, there's no need to put the date in the label. For example, labels like these should be OK: "3 AM", "9 AM", "3 PM", "9 PM". This already works as expected with this adapter.

  2. If the data range is over 24 hours, the labels should be include the date to avoid duplicate labels. For example, "3 AM" can show up twice if the data ranges from May 4th 3:00 to May 5th 3:00. This can be fixed by either switching to only 1 tick per day, or improve the labels so that they include date and time ("May 5, 3 AM").

Current Behavior

If the data is all between the last 24 hours and the last 7 days, you get duplicate labels.

image

image

Is there a way to force the chart to use 1 tick per day if the chart contains data older than 24 hours?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions