Select the chart by the second

This commit is contained in:
Garth Vander Houwen 2024-08-02 20:45:25 -07:00
parent 3fc03b7211
commit acea260326
2 changed files with 4 additions and 4 deletions

View file

@ -14631,9 +14631,6 @@
},
"Mininum time between detection broadcasts. Default is 45 seconds." : {
},
"Minute" : {
},
"mode" : {
"localizations" : {
@ -18789,6 +18786,9 @@
},
"Search" : {
},
"Second" : {
},
"Secondary" : {

View file

@ -60,7 +60,7 @@ struct DeviceMetricsLog: View {
.accessibilityValue("X: \(point.time!), Y: \(point.channelUtilization)")
.foregroundStyle(channelUtilizationChartColor)
if let chartSelection {
RuleMark(x: .value("Minute", chartSelection, unit: .minute))
RuleMark(x: .value("Second", chartSelection, unit: .second))
.foregroundStyle(.tertiary.opacity(0.5))
// .annotation(
// position: .automatic,