Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] bring a parameter to customize the number of horizontal coordinate points? #255

Open
wxlg1117 opened this issue Jan 17, 2023 · 2 comments

Comments

@wxlg1117
Copy link

wxlg1117 commented Jan 17, 2023

The graphics generated by this tool are very good, but when the execution time is relatively long, such as 24 hours, there are still only three coordinate points on the horizontal axis in the generated graph, which is not easy to compare. Can there be a parameter to customize the coordinate points on the horizontal axis Quantity? Or customize the horizontal axis coordinate point interval, such as one point every ten minutes?

PS:Whether the coordinate point time on the horizontal axis can carry the date?

Snipaste_2023-01-17_19-13-37

@wxlg1117 wxlg1117 changed the title [Feature request] [Feature request] bring a parameter to customize the number of horizontal coordinate points? Jan 17, 2023
@orf
Copy link
Owner

orf commented Jan 17, 2023

Hey @wxlg1117, thanks for the request! Let me have a think about it. I'd rather not add yet another CLI flag for this, but I do agree that we could do with some more labels on the x axis.

About the date, I'm not sure we have the space. Maybe instead we could add a "relative days"? i.e 19:46:49 (-1) that would mean "19:46 yesterday"? Open to suggestions!

@TieWay59
Copy link

@orf Can we use some relative time in the x-axis to save space? In most cases, the user doesn't need every specific time stamp.

Example 1 : [-12, -10, -8, -6, -4, -2, 10:12:22]

Example 2 : [:10, :12, :14, :16, :18, :20, 10:12:22]

@wxlg1117 how do you feel like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants