hoffstadt / hoffstadt/DearPyGui

Plotting: Add timedelta axis format

Open
#2,026 4 comments 0 reactions 0 assignees View on GitHub
category: plots state: pending state: thirdparty type: improvement
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
For my application, I need to plot diagrams of some values vs. elapsed time.

**Describe the solution you'd like**
Currently, DearPyGUI has an option to represent X axis as time, but it takes numerical value (int or float) and makes dates as if the value is UNIX timestamps, which is number of seconds since year 1970.
I want to have another option along with that, but now the value will be treated as number of seconds since starting point, and the ticks will be marked as milliseconds for the smallest timescales, then ss"ms then mm'ss" then hh:mm'ss" and at the largest timescale it is days,hh:mm'ss"

**Describe alternatives you've considered**
no alternatives, I am trying to do it myself but it is hard for me to dig through ImPlot code

**Additional context**
--

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.