-
Notifications
You must be signed in to change notification settings - Fork 327
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
Allow displaying plot axis via intl-formatted strings. #1613
Comments
I would say not allowing both dates and times is by design. The reasoning is simple: Axis labels would take a lot of space, thus this could work only for a few data points. In general, it's better to have either only dates or only time axis. @lo5 please correct me if I am wrong since you are the original author here. |
@mturoci This is a must needed feature for monitoring. To be able view chart from different times and dates. Which we already have in grafana. Can we have this feature for charts? |
Expected behaviour - if user select days, x axis will display days and if user select time like last 5 minutes or 12 hr x axis will display time |
@mturoci x_scale="time" does not accept time-only values, but if we provide time as plain strings it will only plot those values as strings so we cannot present the time gaps properly, How would you suggest showing time values? |
can you elaborate? Another option could be displaying time as "floats" (e.g. 10:30 => 10.30) and using @lo5 any ideas? |
CC: @ShehanIshanka |
Some inspiration from Grafana:
right now, we can do 1,2,4, but not 3 because it needs both the date and time. @Nayananga ill create the ticket for this when we decide whether # 3 is possible! |
Thank you for the detailed explanation @shereezhang, Let me add a little bit more context to the issue, @mturoci This is bit tricky to explain, let me attach two examples, This is when I provide time as a string (even with dates) This is when I provide time with x_scale="time" As you can see, the second image gives more insights about the distribution with regards to time but the first image just plots data points evenly spaced, So when I want to show only time, |
Wave SDK Version, OS
0.21.1, macOS 12.5.1
Actual behavior
A chart unable to show different times within a day
Expected behavior
Users need to show data on different dates or different times within a day or both scenarios at the same time (23:55 today to 00:04 tomorrow)
Steps To Reproduce
Minimal code (inspired by this code here #1472 (comment))
The text was updated successfully, but these errors were encountered: