opacity(_:)
Declaration
nonisolated func opacity(_ keyPath: KeyPath<Self.DataElement, CGFloat>) -> some VectorizedChartContent<Self.DataElement>
Parameters
- keyPath:
Points to a value between 0 (fully transparent) and 1 (fully opaque).
nonisolated func opacity(_ keyPath: KeyPath<Self.DataElement, CGFloat>) -> some VectorizedChartContent<Self.DataElement>
Points to a value between 0 (fully transparent) and 1 (fully opaque).