Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / PLOTTING AND CALENDARS
SparklineBar
A one-column sample.
Nil and non-finite values are missing; negative values draw as zero.
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
SparklineBar
struct SparklineBarConforms to: Swift.Sendable, Swift.SendableMetatype.
A one-column sample.
Nil and non-finite values are missing; negative values draw as zero.
Source · Sparkline.swift:6value
var value: Double?A public field of this type. Its value type and mutability are shown in the declaration.
Source · Sparkline.swift:7patch
var patch: StylePatchA public field of this type. Its value type and mutability are shown in the declaration.
Source · Sparkline.swift:8init(_:patch:)
init(_ value: Double?, patch: StylePatch = StylePatch())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.
patch- Argument type and any default are shown in the declaration; see the behavior notes above.