Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / PLOTTING AND CALENDARS
ChartAxisLabel
A custom tick label at a numeric coordinate.
Text is clipped as complete terminal glyphs.
Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.
Members on this page
Feature guides and release status
ChartAxisLabel
struct ChartAxisLabelConforms to: Swift.Sendable, Swift.SendableMetatype.
A custom tick label at a numeric coordinate.
Text is clipped as complete terminal glyphs.
Source · Chart.swift:44value
var value: DoubleA public field of this type. Its value type and mutability are shown in the declaration.
Source · Chart.swift:45spans
var spans: [TextSpan]A public field of this type. Its value type and mutability are shown in the declaration.
Source · Chart.swift:46init(value:text:style:)
init(value: Double, text: String, style: Style? = nil)Creates a value with the supplied arguments. Default arguments are shown in the declaration.
Parameters (3)
value- Argument type and any default are shown in the declaration; see the behavior notes above.
text- Source text.
style- Text/cell appearance.
init(value:spans:)
init(value: Double, spans: [TextSpan])Creates a value with the supplied arguments. Default arguments are shown in the declaration.
Parameters (2)
value- Argument type and any default are shown in the declaration; see the behavior notes above.
spans- Styled source spans, in order.