Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
X-Axis Labels Vanish On Resizing #7780
If you look in metadata settings what type is your Year field set to? Try setting it to number if it’s not already.
To me it doesn’t look like your years are getting interpreted as dates/numbers and hence NOT a time series but rather as a categorical type. I’m basing this on the vertical display of years which was a feature that got added in v0.28 or v0.29.
What’s the underlying data type in the database. If you can have it as a date type Metabase takes hints from that.
Thanks for pointing that out @jornh, the field was changed to text in the custom query to permit each year to show. And yes the text fix permitting labels to rotate was a massive improvement over the way it was before with all the labels running into each other. As a date along with verifying the underlying table metadata for the field is "Number", however, the problem remains... At some point in resizing the values vanish. For the time being the workaround is to reduce the time-span shown (3rd illustration). But that too can only tolerate so much before the x-axis values disappear again on resizing. At the root of the problem I suspect that there are at least two problems: 1) number values do not rotate like text labels do and 2) whatever binning-type algo is being used to manage axis values doesn't have a requirement for at least 2 anchor values regardless of resizing.