XAxisLabelRotation
Mojo struct 🡭
XAxisLabelRotation
@memory_only
struct XAxisLabelRotationAliases
AUTO = XAxisLabelRotation(Int(0)): Choose 0, 45, or 90 degrees to avoid overlap.DEG_0 = XAxisLabelRotation(Int(1)): Always draw labels horizontally, even if they overlap.DEG_45 = XAxisLabelRotation(Int(2)): Always rotate labels 45 degrees.DEG_90 = XAxisLabelRotation(Int(3)): Always rotate labels 90 degrees (fully vertical).
Implemented traits
AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable
Methods
__init__
fn def __init__(out self, value: Int)Args:
- value (
Int) - self (
Self)
Returns:
Self
__eq__
fn def __eq__(self, other: Self) -> BoolArgs:
- self (
Self) - other (
Self)
Returns:
Bool