mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Adjust chart colors
This commit is contained in:
parent
32b9afa657
commit
ea762cec5f
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ struct DeviceMetricsLog: View {
|
|||
y: .value("Value", $0.batteryLevel)
|
||||
)
|
||||
.interpolationMethod(.linear)
|
||||
.foregroundStyle(.indigo)
|
||||
.foregroundStyle(.blue)
|
||||
|
||||
PointMark(
|
||||
x: .value("Hour", $0.time!.formattedDate(format: "ha")),
|
||||
|
|
@ -55,7 +55,7 @@ struct DeviceMetricsLog: View {
|
|||
// Set color for each data in the chart
|
||||
.chartForegroundStyleScale([
|
||||
"Battery Level" : .blue,
|
||||
"Channel Utilization": .mint,
|
||||
"Channel Utilization": .green,
|
||||
"Airtime": .orange
|
||||
])
|
||||
.chartLegend(position: .automatic, alignment: .bottom)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue