Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c6610f5679 |
Generated
BIN
Binary file not shown.
@@ -85,15 +85,13 @@ public struct MultiLineChartView: View {
|
||||
.font(.callout)
|
||||
.foregroundColor(self.colorScheme == .dark ? self.darkModeStyle.legendTextColor : self.style.legendTextColor)
|
||||
}
|
||||
if let rateValue = rateValue {
|
||||
HStack {
|
||||
if (rateValue >= 0){
|
||||
Image(systemName: "arrow.up")
|
||||
}else{
|
||||
Image(systemName: "arrow.down")
|
||||
}
|
||||
Text("\(rateValue)%")
|
||||
HStack {
|
||||
if (rateValue ?? 0 >= 0){
|
||||
Image(systemName: "arrow.up")
|
||||
}else{
|
||||
Image(systemName: "arrow.down")
|
||||
}
|
||||
Text("\(rateValue ?? 0)%")
|
||||
}
|
||||
}
|
||||
.transition(.opacity)
|
||||
|
||||
Reference in New Issue
Block a user