changeset 102:7e524a9cc194 1.2.5

Merge pull request #13 from denniscm190/dennis Minor UI Updates in CharLabel committer: GitHub <noreply@github.com>
author Dennis C. M. <dennis@denniscm.com>
date Tue, 22 Jun 2021 16:41:53 +0200
parents 46e874c1f459 (current diff) ffc7731f7206 (diff)
children 766a1169564b facd63329f23
files
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift	Tue Jun 22 16:11:26 2021 +0200
+++ b/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift	Tue Jun 22 16:41:53 2021 +0200
@@ -20,15 +20,17 @@
                 if let dates = self.dates {
                     let date = formatStringDate(dates[indexPosition])
                     Text(date)
+                        .opacity(0.5)
                 }
                 if let hours = self.hours {
                     let hour = hours[indexPosition]
                     Text(hour)
+                        .opacity(0.5)
                 }
                 Text("\(data[indexPosition], specifier: "%.2f")")
                     .foregroundColor(Color(.systemBlue))
             }
-            .font(.headline)
+            .font(.caption)
         }
     }
     
Binary file StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed