Post

Replies

Boosts

Views

Activity

Comment on LineMark Does Not Respect .foregroundStyle Color choice
Well this is awkward... The code I copied had both .green. Changing departmentAProfile's color to .pink changes both profiles to .pink struct ContentView: View {     var body: some View { Chart { ForEach(departmentAProfile, id: \.week) { ... ).foregroundStyle(.pink) } ForEach(departmentBProfile, id: \.week) { LineMark( ... ) .foregroundStyle(.green) }     } } (... = same but needed to cut for char limit)
Jun ’22