Skip to content

AxisTitleInfo

StructChartGuruChartGuru
public struct AxisTitleInfo

Information about an axis title for external text rendering.

public Vector2 Position

Screen position where the title should be drawn.

Returns

UnityEngine.Vector2

public string Text

Title text to display.

Returns

System.String

public bool IsVertical

Whether the title should be drawn vertically (rotated 90 degrees).

Returns

System.Boolean

public bool IsVisible

Whether the title should be shown.

Returns

System.Boolean

public float RotationAngle

Rotation angle in degrees. For Y-axis: -90 for left side (text reads bottom to top), 90 for right side.

Returns

System.Single

public float MaxWidth

Maximum text Width (before rotation) to prevent overflow. 0 means no limit.

Returns

System.Single