Skip to content

Commit

Permalink
Merge pull request #128 from jovandeginste/replace-apexcharts
Browse files Browse the repository at this point in the history
Replace chart.js with apexcharts
  • Loading branch information
jovandeginste authored Apr 18, 2024
2 parents ac1dd12 + e269a11 commit 302167e
Show file tree
Hide file tree
Showing 20 changed files with 374 additions and 431 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ clean-dist:

build-dist: clean-dist
mkdir -p ./assets/dist/
cp -v ./node_modules/chart.js/dist/chart.umd.js ./assets/dist/chart.js
cp -v ./node_modules/chartjs-adapter-date-fns/dist/chartjs-adapter-date-fns.bundle.min.js ./assets/dist/
cp -v ./node_modules/fullcalendar/index.global.min.js ./assets/dist/fullcalendar.min.js
cp -v ./node_modules/leaflet/dist/leaflet.css ./assets/dist/
cp -v ./node_modules/leaflet/dist/leaflet.js ./assets/dist/
cp -v ./node_modules/sorttable/sorttable.js ./assets/dist/
cp -v ./node_modules/shareon/dist/shareon.iife.js ./assets/dist/
cp -v ./node_modules/shareon/dist/shareon.min.css ./assets/dist/
cp -R ./node_modules/@fortawesome/fontawesome-free/ ./assets/dist/fontawesome/
cp -v ./node_modules/apexcharts/dist/apexcharts.min.js ./assets/dist/
cp -v ./node_modules/apexcharts/dist/apexcharts.css ./assets/dist/


watch-tw:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ database storage is a single SQLite file.
- [FullCalendar](https://fullcalendar.io/)
- [Leaflet](https://leafletjs.com/)
- [sorttable](https://www.kryogenix.org/code/browser/sorttable/)
- [Chart.js](https://cdn.jsdelivr.net/npm/chart.js)
- [apexcharts](https://apexcharts.com/)
- Docker

The application uses OpenStreetMap as its map provider and for geocoding a GPS
Expand Down
22 changes: 10 additions & 12 deletions assets/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -1768,10 +1768,6 @@ table {
visibility: collapse;
}

.static {
position: static;
}

.fixed {
position: fixed;
}
Expand Down Expand Up @@ -1800,6 +1796,10 @@ table {
float: right;
}

.m-1 {
margin: 0.25rem;
}

.-mr-5 {
margin-right: -1.25rem;
}
Expand Down Expand Up @@ -1848,10 +1848,6 @@ table {
height: 300px;
}

.h-\[400px\] {
height: 400px;
}

.min-h-\[450px\] {
min-height: 450px;
}
Expand Down Expand Up @@ -1958,6 +1954,12 @@ table {
overflow-y: hidden;
}

.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.whitespace-nowrap {
white-space: nowrap;
}
Expand Down Expand Up @@ -2861,10 +2863,6 @@ table {
.xl\:hidden {
display: none;
}

.xl\:h-\[600px\] {
height: 600px;
}
}

@media (min-width: 1536px) {
Expand Down
Binary file modified docs/dashboard-responsive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/responsive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/single_workout-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/single_workout-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/single_workout-responsive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/single_workout-theme.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/statistics-responsive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/statistics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/upload_workouts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/workout_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
140 changes: 103 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.1",
"chart.js": "^4.4.2",
"chartjs-adapter-date-fns": "^3.0.0",
"apexcharts": "^3.48.0",
"fullcalendar": "^6.1.11",
"leaflet": "^1.9.4",
"shareon": "^2.5.0",
Expand Down
Loading

0 comments on commit 302167e

Please sign in to comment.