I just published an article on how to create an area plot in Swift Charts that shows UV index throughout the day and dims values up to the current point in time inspired by the iOS Weather app.

The post can be found on my blog: https://nilcoalescing.com/blog/AreaChartWithADimmingLayer/

#SwiftUI #iOSDev

Area chart with a dimming layer up to the current point in time

Create a chart with the Swift Charts framework to show UV index throughout the day inspired by the iOS Weather app that dims the area up to the current time.

Nil Coalescing
@natpanferova That's a beautiful graph. One day I will learn this API.