* feat: new protocol for chained functions, and added support for explicit Y ranges. X coming as well * feat: add new axis interface (#253)
16 lines
366 B
Swift
16 lines
366 B
Swift
import SwiftUI
|
|
|
|
public struct LineChart: ChartBase {
|
|
public var chartData = ChartData()
|
|
@EnvironmentObject var style: ChartStyle
|
|
public var chartProperties = LineChartProperties()
|
|
|
|
public var body: some View {
|
|
Line(chartData: chartData,
|
|
style: style,
|
|
chartProperties: chartProperties)
|
|
}
|
|
|
|
public init() {}
|
|
}
|