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

Use smoother curves to interpolate traffic chart data points #461

Merged
merged 10 commits into from
Feb 22, 2024
Merged

Conversation

GyulyVGC
Copy link
Owner

This PR changes the interpolation method used for data points represented in the traffic chart.

Instead of linear interpolation, now a cosine-like spline is used.
This results in a smoother and overall better-looking traffic chart (see pictures below).


Before

After

@GyulyVGC GyulyVGC added the design Styling and appearance label Feb 21, 2024
@GyulyVGC GyulyVGC added this to the v1.3.0 milestone Feb 21, 2024
@GyulyVGC GyulyVGC self-assigned this Feb 21, 2024
Copy link
Owner Author

@GyulyVGC GyulyVGC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@GyulyVGC GyulyVGC merged commit 9021acc into main Feb 22, 2024
6 checks passed
@GyulyVGC GyulyVGC deleted the spline branch February 22, 2024 07:44
@GyulyVGC GyulyVGC mentioned this pull request Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Styling and appearance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant