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

feat: let the user set the displayed precision of the time #200

Open
ClementWalter opened this issue Dec 30, 2024 · 0 comments
Open

feat: let the user set the displayed precision of the time #200

ClementWalter opened this issue Dec 30, 2024 · 0 comments

Comments

@ClementWalter
Copy link

ClementWalter commented Dec 30, 2024

Why

Currently, the displayed precision of the time is hard coded to 4 in the backend and 3 in the frontend

This results in the table stat giving 4 digits precision, the sv-info panel 3 digits precision, and no room for the user to recover the actual numbers.

What

Let the user define the displayed precision.

How

  1. use a single precision variable
  2. truncate in js using this number for both the chart data and the panel
@ClementWalter ClementWalter changed the title feat: let the user set the precision of the time feat: let the user set the displayed precision of the time Dec 30, 2024
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

1 participant