ratio(_:)

A dimension that’s proportional to the scale step size, using the specified ratio.

Declaration

static func ratio(_ keyPath: KeyPath<DataElement, CGFloat>) -> MarkDimensions<DataElement>