AxisTickLength
[Serializable]public readonly struct AxisTickLengthComposable tick-length spec, settable via AxisBuilder.TickLength(AxisTickLength).
Implicitly converts from a plain float for the common fixed-pixel case.
Fields
Section titled “Fields”
public readonly AxisTickLengthMode ModeNo description is available for this member.
Returns
ChartGuru.AxisTickLengthMode — No return description is available.
Pixels
Section titled “Pixels”public readonly float PixelsNo description is available for this member.
Returns
System.Single — No return description is available.
ExtendPastBy
Section titled “ExtendPastBy”public readonly float ExtendPastByNo description is available for this member.
Returns
System.Single — No return description is available.
Automatic
Section titled “Automatic”public static readonly AxisTickLength AutomaticRenderer-chosen length (currently equivalent to Fixed(5f)).
Returns
ChartGuru.AxisTickLength — No return description is available.
Constructors
Section titled “Constructors”
AxisTickLength(AxisTickLengthMode, float, float)
Section titled “AxisTickLength(AxisTickLengthMode, float, float)”public AxisTickLength(AxisTickLengthMode mode, float pixels, float extendPastBy)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
mode |
ChartGuru.AxisTickLengthMode | |
pixels |
System.Single | |
extendPastBy |
System.Single |
Methods
Section titled “Methods”
Fixed(float)
Section titled “Fixed(float)”public static AxisTickLength Fixed(float pixels)Fixed pixel length.
Parameters
| Name | Type | Description |
|---|---|---|
pixels |
System.Single |
Returns
ChartGuru.AxisTickLength — No return description is available.
Label(float)
Section titled “Label(float)”public static AxisTickLength Label(float extendPastBy = 0)Each tick spans its own label, plus an optional extension.
Parameters
| Name | Type | Description |
|---|---|---|
extendPastBy |
System.Single |
Returns
ChartGuru.AxisTickLength — No return description is available.
LongestLabel(float)
Section titled “LongestLabel(float)”public static AxisTickLength LongestLabel(float extendPastBy = 0)Every tick spans the longest emitted label, plus an optional extension.
Parameters
| Name | Type | Description |
|---|---|---|
extendPastBy |
System.Single |
Returns
ChartGuru.AxisTickLength — No return description is available.
Operators
Section titled “Operators”
implicit operator AxisTickLength(float)
Section titled “implicit operator AxisTickLength(float)”public static implicit operator AxisTickLength(float pixels)Implicit float → fixed-pixel conversion for backwards compatibility.
Parameters
| Name | Type | Description |
|---|---|---|
pixels |
System.Single |
Returns
ChartGuru.AxisTickLength — No return description is available.