-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Dashboards: dates take up too much space on hourly graphs #2656
Comments
@mariusandra @paolodamico I would like to solve this, let me know what kind of design would be suitable? |
Thanks for the interest in contributing @jatin33! I think we would ideally have something like what we recently introduced for dates (see screenshots below). I wonder if you prefer we whip up a specific design for you or prefer to take some creative license with it (whatever you feel most comfortable with). Tagging @clarkus for any thoughts too. You may also want to check out the |
I think this would be a good change to make. Some things to consider when changing axis formatting:
I'm happy to make time to put together a design for this. I will take a bit of time to ensure that we're tracking the requirements across all insight types with a time axis. @jatin33 are you interesting in implementing a solution, or do you want to try designing something as well? Appreciate you making time to contribute!!! Thank you. |
I will be interested in implementing the solution, as for design I may miss some scenarios you mentioned. So please let me know when you get back to designs |
Re 1. We actually don't show the year anymore unless you're comparing MoM. You can play around with the new tooltips in PostHog Cloud and see how we're actually showing dates today. Awesome @jatin33, thanks! We'll keep you posted on a design. |
Hey guys,
any ideas on how to solve this? |
@jatin33 the issue might be with the version of node.js you're using. What does Also - since you won't be touching the plugin server, feel free to start it with docker: |
current node version: v12.19.0 Will try the docker command this weekend as well |
You need at least v14 for the plugin server to work. |
I put together an example axis mockup today while working on some related issues. This demonstrates the general changes we could make depending on the context for the visualization. General changes we can make to simplify axis labels:
|
Hey @jatin33 if you scroll up in these logs, there should be a django related error, can you mention what it was? |
@neilkakkar this is the django related error |
Ah, do you have |
yes, i did but only once. |
Nope, once is good enough! What do |
Hmm, if you followed the instructions in a virtual environment, remember to activate it before developing :) (since the python version as well shows 2.7 instead of 3.8) |
Is your feature request related to a problem?
Currently on dashboards date labels take up 30-40% of the available area for hourly graphs of the past day.
Describe the solution you'd like
Here's how a similar graph looks like on grafana:
I think using shorter or no date formats here would make sense?
As in grafana we could show the full date in the tooltip as well.
Describe alternatives you've considered
Making the graphs full-width - still takes up unreasonable amount of space.
Additional context
I didn't discover until now you can resize graphs! It might also be worth making graphs wider by default, since that removes at least part of the issue.
Thank you for your feature request – we love each and every one!
The text was updated successfully, but these errors were encountered: