#swiftcharts β Public Fediverse posts
Live and recent posts from across the Fediverse tagged #swiftcharts, aggregated by home.social.
-
Build a UV-index-style area chart inspired by iOS Weather. Uses π΄πππππππ and πΏπππππππ with linear gradients, cardinal interpolation, and a custom π πππ‘πππππππππ mask for a dimming layer.
π: https://nilcoalescing.com/blog/AreaChartWithADimmingLayer/ by Natalia Panferova (@natpanferova)
-
Build a UV-index-style area chart inspired by iOS Weather. Uses π΄πππππππ and πΏπππππππ with linear gradients, cardinal interpolation, and a custom π πππ‘πππππππππ mask for a dimming layer.
π: https://nilcoalescing.com/blog/AreaChartWithADimmingLayer/ by Natalia Panferova (@natpanferova)
-
And here is the blog post with some background information on the app.
-
And here is the blog post with some background information on the app.
-
I'm adding a new chart and hit a strange Swift Charts issue.
If the Y-axis data is all zeros then the Y-axis gets flipped!
Specifying a chartYScale seems to be the solution.
.chartYScale(domain: 0...(yValues.last ?? 1), type: .linear)
-
I'm adding a new chart and hit a strange Swift Charts issue.
If the Y-axis data is all zeros then the Y-axis gets flipped!
Specifying a chartYScale seems to be the solution.
.chartYScale(domain: 0...(yValues.last ?? 1), type: .linear)
-
I wrote a blog post about the improvements I made to @PleaseDontRain based on feedback from my WWDC accessibility lab.
I didn't expect it to involve time zones! β°
-
I wrote a blog post about the improvements I made to @PleaseDontRain based on feedback from my WWDC accessibility lab.
I didn't expect it to involve time zones! β°
-
Beyond Linear: Using MeshGradient in Swift Charts
https://www.sgade.de/blog/2025-05-26-meshgradient-in-swift-charts/
-
I just wrote an addendum to the blog post I wrote recently about struggling to find an answer to a Swift Charts problem I was having.
It was a night and day difference with the next issue I encountered.
-
I just wrote an addendum to the blog post I wrote recently about struggling to find an answer to a Swift Charts problem I was having.
It was a night and day difference with the next issue I encountered.
-
Swift Charts lets you manually choose what color is used for each category in the legend but it doesn't appear that you can manually choose what shapes appear in it.
I made my own legend to use when differentiate without color is active.
I think that I'm done with this new feature!
-
Swift Charts lets you manually choose what color is used for each category in the legend but it doesn't appear that you can manually choose what shapes appear in it.
I made my own legend to use when differentiate without color is active.
I think that I'm done with this new feature!
-
I created an example in my accessibility settings for @PleaseDontRain to show how I'm differentiating without color for my bar charts.
Really happy with how this turned out!
-
I created an example in my accessibility settings for @PleaseDontRain to show how I'm differentiating without color for my bar charts.
Really happy with how this turned out!
-
I've done some more experimenting and now I'm leaning towards tiny basic shapes above each bar instead of using letters to differentiate without color.
The legend hasn't been addressed yet.
-
I've done some more experimenting and now I'm leaning towards tiny basic shapes above each bar instead of using letters to differentiate without color.
The legend hasn't been addressed yet.
-
Spent some time experimenting with @bas and we couldn't get visual patterns to appear in bars via Swift Charts to differentiate without color.
I filed feedback FB17599628 as a suggestion.
-
Spent some time experimenting with @bas and we couldn't get visual patterns to appear in bars via Swift Charts to differentiate without color.
I filed feedback FB17599628 as a suggestion.
-
With the announcement of App Store Accessibility Nutrition Labels I just realized that my precipitation charts would fail the βDifferentiate Without Color Aloneβ label.
With a LineMark Swift Charts lets you change the plot shape used with each line. But what should you do for a BarChart?
I donβt have room to add an SF Symbol as an annotation on top of each bar, but a letter would seem to work.
-
With the announcement of App Store Accessibility Nutrition Labels I just realized that my precipitation charts would fail the βDifferentiate Without Color Aloneβ label.
With a LineMark Swift Charts lets you change the plot shape used with each line. But what should you do for a BarChart?
I donβt have room to add an SF Symbol as an annotation on top of each bar, but a letter would seem to work.
-
I wrote a blog post about a Swift Charts issue that's been bothering me for the longest time and how I finally found a solution for it.
Hoping this saves someone some time!
-
I wrote a blog post about a Swift Charts issue that's been bothering me for the longest time and how I finally found a solution for it.
Hoping this saves someone some time!
-
Iβm adding charts to my spoon management app. Still work in progress.
(No third party lib, no #SwiftCharts, no #SwiftUI)
-
Iβm adding charts to my spoon management app. Still work in progress.
(No third party lib, no #SwiftCharts, no #SwiftUI)
-
ShellHistory V3 Beta is out on TestFlight https://testflight.apple.com/join/dtKUakmf #macos #zsh #bash #fishshell #testflight #swiftui #swiftcharts #notebooks #macapps
-
ShellHistory V3 Beta is out on TestFlight https://testflight.apple.com/join/dtKUakmf #macos #zsh #bash #fishshell #testflight #swiftui #swiftcharts #notebooks #macapps
-
I've got a theory that WeatherKit was enhanced for iOS 17 users with the recent additions for iOS 18 that we're now testing.
I'm adding some new features to the iOS 17 version of Please Don't Rain and just realized that I'm seeing sleet on my precipitation chart. I have NEVER seen that before. It's only been rain and snow returned (and I have looked at a LOT of forecasts).
I felt like a proud papa watching his kid handle a new situation appropriately. π₯Ή
-
I've got a theory that WeatherKit was enhanced for iOS 17 users with the recent additions for iOS 18 that we're now testing.
I'm adding some new features to the iOS 17 version of Please Don't Rain and just realized that I'm seeing sleet on my precipitation chart. I have NEVER seen that before. It's only been rain and snow returned (and I have looked at a LOT of forecasts).
I felt like a proud papa watching his kid handle a new situation appropriately. π₯Ή
-
using basic #swiftcharts for instance activity stats in #Fedicat
-
Now, this is the first version of the app, I have tons of ideas to improve it but I wanted to get it in people's hands and see what people like, what they want, and how it's used π
On the technical side, the app is entirely built in #SwiftUI (what did you expect?), and leverages #CoreLocation, #MapKit, #WeatherKit and a little bit of #SwiftCharts.
This app is the reason I filed and share many feedback related to these frameworks lately π
-
Now, this is the first version of the app, I have tons of ideas to improve it but I wanted to get it in people's hands and see what people like, what they want, and how it's used π
On the technical side, the app is entirely built in #SwiftUI (what did you expect?), and leverages #CoreLocation, #MapKit, #WeatherKit and a little bit of #SwiftCharts.
This app is the reason I filed and share many feedback related to these frameworks lately π
-
#swiftcharts machen interaktive Charts wirklich einfach βΊοΈ #iOSDev
-
VoiceOver question:
Should I be able to use .accessibilityLabel and .accessibilityValue with a RuleMark in Swift Charts?
I'm having to create an invisible PointMark to get around the fact that I can't seem to.
-
VoiceOver question:
Should I be able to use .accessibilityLabel and .accessibilityValue with a RuleMark in Swift Charts?
I'm having to create an invisible PointMark to get around the fact that I can't seem to.
-
I liked the segmented Picker that I added to my precipitation chart so much that I used one to create a new "feels like" variation of the temperature chart.
-
I liked the segmented Picker that I added to my precipitation chart so much that I used one to create a new "feels like" variation of the temperature chart.
-
But looks what happens with 24 entries and VoiceOver grouping entries together. VoiceOver is just saying "symbol" as if the SF Symbol was not there at all.
π§΅ 3/3
-
But looks what happens with 24 entries and VoiceOver grouping entries together. VoiceOver is just saying "symbol" as if the SF Symbol was not there at all.
π§΅ 3/3
-
Here's an example with a small amount of data. You'll notice that VoiceOver is saying "symbol heavy rain", which is what is expected.
π§΅ 2/3
-
Here's an example with a small amount of data. You'll notice that VoiceOver is saying "symbol heavy rain", which is what is expected.
π§΅ 2/3
-
Wow did I spot an obscure issue with VoiceOver. Took me quite a while to nail down what was happening. I thought I was doing something wrong.
VoiceOver will normally read an appropriate description of an SF Symbol.
I realized that if there is a small amount of data VO reads the description for the symbol in a chart.
However, if there is much more data and values are grouped together VO completely ignores the symbol.
π§΅ 1/3
Filed FB13555954
-
Wow did I spot an obscure issue with VoiceOver. Took me quite a while to nail down what was happening. I thought I was doing something wrong.
VoiceOver will normally read an appropriate description of an SF Symbol.
I realized that if there is a small amount of data VO reads the description for the symbol in a chart.
However, if there is much more data and values are grouped together VO completely ignores the symbol.
π§΅ 1/3
Filed FB13555954
-
I really like the segmented Picker that I added to my precipitation chart.
I got the idea that if I added a "feels like" variation to my temperature chart I could do something similar.
I didn't expect to be able to hold my finger down to display the RuleMark but still be able to change the chart type with another finger. It works!
Shout out to Portland OR for continuing to be the ideal test case.
-
Today I finished the second video about #SwiftCharts by @StewartLynch
Afterwards I watched also a video by @seanallen_dev and used some of his stuff too to experiment around with LineMarks. I think the outcome is okay, I mean it looks good but I also have noticed that I still have a lot of problems with it. But I think itβs a good start.
#Swift #SwiftUI #iOSDevStewartβs video:
https://www.youtube.com/watch?v=lB3poCA8ZN4Seanβs video:
https://www.youtube.com/watch?v=4utsyqhnS4g -
Today I started the short video series about #SwiftCharts by @StewartLynch
I finished the first one and nearly the second one that I will finish tomorrow. Also tomorrow I wanne try to code a LineMark chart because I have an app idea and for that I wanna use a LineMark chart. So far all the tutorials I found were for BarMarks but as I learned so far work most of the charts pretty similar.
#Swift #SwiftUI #iOSDev -
I donβt have room to show the weather symbol for each hour, especially if the largest accessibility text sizes are in use.
However, Iβm adding the hourly weather symbol to the RuleMark that can be shown for each hour with a long press.