Why are X-axis labels sometimes at angle 45 degrees and other times not?

When plotting lines or bars you have noticed that sometimes labels appear horizontal and other times at an angle.

image image

(LEFT GRAPH) The Arcadia UI does this because it auto-detects date/time dimensions, and auto scales the axis accordingly to make it continuous. This way it doesn’t have to label every single date and instead plots the labels horizontally. This allows for less crowded display.

(RIGHT GRAPH) While for categorical values like country it will keep them separate. And to allow for displaying as many categories as possible, it will place them at 45 degree angle.


NOTES

1 Like