ebaaf81d19
* feat: new protocol for chained functions, and added support for explicit Y ranges. X coming as well * feat: add new axis interface (#253)
12 lines
367 B
Swift
12 lines
367 B
Swift
import SwiftUI
|
|
|
|
public final class AxisLabelsStyle: ObservableObject {
|
|
@Published public var axisFont: Font = .callout
|
|
@Published public var axisFontColor: Color = .primary
|
|
@Published var axisLabelsYPosition: AxisLabelsYPosition = .leading
|
|
@Published var axisLabelsXPosition: AxisLabelsXPosition = .bottom
|
|
public init() {
|
|
// no-op
|
|
}
|
|
}
|