Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a section where we recreate certain Apple app charts #77

Open
jordibruin opened this issue Jun 25, 2022 · 9 comments
Open

Add a section where we recreate certain Apple app charts #77

jordibruin opened this issue Jun 25, 2022 · 9 comments
Labels
help wanted Extra attention is needed

Comments

@jordibruin
Copy link
Owner

I think it could be a nice challenge / addition to the repo if we have a section in the app where we recreate common charts used throughout iOS.

Think screen time, battery, iCloud usage, weather etc

@atrinh0
Copy link
Collaborator

atrinh0 commented Jun 26, 2022

I love this idea, maybe a section on the top labelled "Apple" and recreate each one and try to find more!! 💪🏻

. .
IMG_9348 IMG_9359
IMG_9360 IMG_9361
IMG_9366 IMG_9365
IMG_9364 IMG_9363
IMG_9371 IMG_9370
IMG_9369 IMG_9368
IMG_9367 .

@jordibruin
Copy link
Owner Author

@lekawik made a great first start!!

@atrinh0
Copy link
Collaborator

atrinh0 commented Jul 30, 2022

This chart is hot 🔥

ios-16-sleep-info

Source: https://www.macrumors.com/guide/ios-16-health-app/

@atrinh0
Copy link
Collaborator

atrinh0 commented Aug 3, 2022

@jordibruin jordibruin added the help wanted Extra attention is needed label Aug 30, 2022
@bdruth
Copy link

bdruth commented Oct 28, 2022

This chart is hot 🔥

ios-16-sleep-info

Source: https://www.macrumors.com/guide/ios-16-health-app/

Any idea what's being used to connect the bar marks on this?

@nonameplum
Copy link

This chart is hot 🔥

ios-16-sleep-info

Source: https://www.macrumors.com/guide/ios-16-health-app/

Any idea what's being used to connect the bar marks on this?

Same question. Any idea how the sleep chart could be tackled? Any evidence that this graph is created using swift charts framework?

@chengjunzhang61
Copy link

This chart is hot 🔥

ios-16-sleep-info

Source: https://www.macrumors.com/guide/ios-16-health-app/

Any idea what's being used to connect the bar marks on this?

Same question. Any idea how the sleep chart could be tackled? Any evidence that this graph is created using swift charts framework?

Any idea how the sleep chart could be tackled?

@nonameplum
Copy link

I have asked during the "Ask" sessions and Apple's engineer told me that the current Swift Charts API doesn't give such abilities to build a similar chart to Healt's app sleep graph. Maybe by creating overlays something similar could be achieved.

@nonameplum
Copy link

nonameplum commented Mar 15, 2024

Custom masking shapes on RectangleMark can make the chart similar to sleep one. Also, you can even create a mask on the whole plot area and mask using the chart content and apply one linear gradient.
Here is an example that I achieved on iOS 16.0

Simulator.Screen.Recording.-.iPhone.15.-.2024-02-08.at.10.25.09.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants