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

migrate dashboard chart from Raphael to Chartist (#406) #483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stklcode
Copy link
Contributor

@stklcode stklcode commented Feb 6, 2023

Use the same chart library and UI as it is used in Statify now. Doing so, we migrate the graphics library from Raphaël to Chartist with a tooltips plugin and adjust the wrapper script and styling accordingly.

Including CSS and tooltips plugin, Chartist is about 50KB of size compared to 96KB for Raphaël.

No further improvements for now, just copy the generation script and styles from the Statify project and add the external libs as fixed files as it was done with the old library.

Preview:
screenshot_statify_asb

When merged, this PR resolves #406.

@stklcode stklcode added the UI label Feb 6, 2023
Use the same chart library and UI as it is used in Statify now.
Doing so, we migrate the graphics library from Raphaël to Chartist with
a tooltips plugin and adjust the wrapper script and styling accordingly.

Including CSS and tooltips plugin, Chartist is about 50KB of size
compared to 96KB for Raphaël.
@sonarcloud
Copy link

sonarcloud bot commented Feb 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@krafit krafit added this to the 3.0 milestone Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change UI from dashboard chart to match Statify
2 participants