# HG changeset patch # User Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> # Date 1619798796 -7200 # Node ID 704ddee7d78fa9cd6d257aeb2505760008c55725 # Parent 787ad339ba7207516c4bafc458e7fe9025ef8090 Test public init and struct diff -r 787ad339ba72 -r 704ddee7d78f DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved --- a/DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved Fri Apr 30 18:05:04 2021 +0200 +++ b/DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved Fri Apr 30 18:06:36 2021 +0200 @@ -6,7 +6,7 @@ "repositoryURL": "https://github.com/denniscm190/StockCharts.git", "state": { "branch": "main", - "revision": "014e730f72937c5ecc6e82d28db6ce8af87a319d", + "revision": "70a9b40d75ce9e88c31d98933b78e56ed5860b4b", "version": null } } diff -r 787ad339ba72 -r 704ddee7d78f DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Binary file DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed diff -r 787ad339ba72 -r 704ddee7d78f DemoProject/DemoProject/ContentView.swift --- a/DemoProject/DemoProject/ContentView.swift Fri Apr 30 18:05:04 2021 +0200 +++ b/DemoProject/DemoProject/ContentView.swift Fri Apr 30 18:06:36 2021 +0200 @@ -11,6 +11,7 @@ struct ContentView: View { var body: some View { TabView { + ChartView() // ChartViewPreview(data: generateSampleData(350)) .tabItem { Label("ChartView", systemImage: "house") diff -r 787ad339ba72 -r 704ddee7d78f Sources/StockCharts/LineChart/ChartView.swift --- a/Sources/StockCharts/LineChart/ChartView.swift Fri Apr 30 18:05:04 2021 +0200 +++ b/Sources/StockCharts/LineChart/ChartView.swift Fri Apr 30 18:06:36 2021 +0200 @@ -23,11 +23,12 @@ public var body: some View { VStack { - ChartLabel(data: data, dates: dates, hours: hours, indexPosition: $indexPosition) - .opacity(showingIndicators ? 1: 0) - .padding(.vertical) + Text("Hello") +// ChartLabel(data: data, dates: dates, hours: hours, indexPosition: $indexPosition) +// .opacity(showingIndicators ? 1: 0) +// .padding(.vertical) - LineView(data: data, showingIndicators: $showingIndicators, indexPosition: $indexPosition) +// LineView(data: data, showingIndicators: $showingIndicators, indexPosition: $indexPosition) } } } diff -r 787ad339ba72 -r 704ddee7d78f StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Binary file StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed