init(x:y:t:domain:function:)
Creates a mark that graphs a parametric function (x, y) = f(t).
Declaration
nonisolated init<S1, S2, S3>(x: S1, y: S2, t: S3, domain: ClosedRange<Double>, function: @escaping @Sendable (Double) -> (x: Double, y: Double)) where S1 : StringProtocol, S2 : StringProtocol, S3 : StringProtocolDiscussion
Parameters:
x: The localized string key for the x label.
y: The localized string key for the y label.
t: The localized string key for the t label.
domain: The domain of t. Must be a finite domain.
function: The function to graph. Returns a tuple of (x, y) for a value of t.