Drag to Select in SwiftUI Charts
Reading time: 3 min
This recipe shows how to implement drag / swipe selection in SwiftUI using Apple's new Charts Framework. It allows you to read data for a range of values from the chart.
Reading time: 2 min
This recipe shows a more advanced SwiftUI bar chart that shows min, max and average for each data point.
Styling SwiftUI Chart with Charts Framework
Reading time: 3 min
This recipe shows how to add a style SwiftUI Charts using Apple's new Charts Framework. You can change the colors, line styles and visibility of all parts of the chart, including its plot area, marks and axes.
SwiftUI Charts - Converting AxisValue to Text
Reading time: 1 min
This quick recipe shows how to convert AxisValue
to a Text
using Apple's new Charts Framework.
Reading time: 4 min
This recipe shows how to add a Scan Line / Lollipop to a Chart to SwiftUI using Apple's new Charts Framework. It allows you to read data from the chart depending on its position using tap and drag gestures.