willdale / SwiftUICharts

A charts / plotting library for SwiftUI. Works on macOS, iOS, watchOS, and tvOS and has accessibility features built in.
MIT License
837 stars 103 forks source link

how to hide tagged first value on y-axis #210

Closed mvolkmann closed 2 years ago

mvolkmann commented 2 years ago

How can I hide the value 11,929 on the y-axis annotated inside a red ellipse in this screenshot? It seems to want to show me the first chart value. SwiftUICharts

mvolkmann commented 2 years ago

It was a coincidence that the average value was very close to the first value. The fix was to set labelPosition to .none in my call to .averageLine.