obsidian-tracker icon indicating copy to clipboard operation
obsidian-tracker copied to clipboard

Feature request: line chart should support the y-axis for durations greater than 24 hours

Open paulequilibrio opened this issue 1 year ago • 1 comments

No line chart is rendered when yMax is set to a value greater than 24:00.

Expected Behavior

The line chart should support the y-axis for durations greater than 24 hours.

Current Behavior

No chart is rendered, just display the error message "Invalid inputs for yMax"

Context

I'm using a simple line chart for my fasts

searchType: frontmatter
searchTarget: fast_duration
datasetName: Fast
folder: daily
line:
    yAxisLabel: Hours
    yMin: 08:00
    yMax: 24:00
    yAxisTickInterval: 01:00
    xAxisLabel: Day

This week I managed to fast for more than 24 hours, but when I tried to update the yMax to 50:00 I got the message "Invalid inputs for yMax"

paulequilibrio avatar Aug 15 '24 18:08 paulequilibrio

I also have this issue where I have hours accumulating during the week and the target is 25 hours but they are never graphed. And when I have a daily number greater than 24 it is also not shown on the graph.

Example graph where the red line/green dots has a missing value of 25:00 for each line:

Image

Would be great if hours was not the hour of the day (0:00 - 23:59) but actual number of arbitrary hours (0:00 - 999:59 or something).

ebdavison avatar Feb 26 '25 20:02 ebdavison