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

Incorrect date axis rendering #99

Closed
holgerbrandl opened this issue Nov 20, 2021 · 3 comments
Closed

Incorrect date axis rendering #99

holgerbrandl opened this issue Nov 20, 2021 · 3 comments
Milestone

Comments

@holgerbrandl
Copy link

Expected: It should render a readible time axis when doing plot + geomStep { x = "first"; y = "second" } + ggtitle(title)

Observed: It is rendering some hard to read time labels.

rendered with letsplot
image

The column is simply a list of Instants:

image

In contrast, when rendering the same data with ggplot2 (via kravis) using geomStep (with default scale settings) it feels more readable:

image

Example data claimed_capacity.csv

@alshan
Copy link
Collaborator

alshan commented Nov 24, 2021

Hi Holger, as a workaround you can specify scaleXDateTime() explicitly. Or automatic scale selection is essential in this case?

@holgerbrandl
Copy link
Author

No it's not essential, but in general, improved scale-detection would certainly improve user experience. Thanks for the update and the workaround.

holgerbrandl added a commit to holgerbrandl/kalasim that referenced this issue Nov 25, 2021
@alshan alshan added this to the 2022Q1 milestone Dec 28, 2021
@alshan
Copy link
Collaborator

alshan commented Mar 30, 2022

Date-time series auto-detection was added in v3.2.0

@alshan alshan closed this as completed Mar 30, 2022
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

2 participants