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 date-fns date adapter #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/js/chart-js-integration.js

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion dist/js/chart-js-integration.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
/*!
* Chart.js v3.7.1
* @kurkle/color v0.2.1
* https://github.com/kurkle/color#readme
* (c) 2022 Jukka Kurkela
* Released under the MIT License
*/

/*!
* Chart.js v3.9.1
* https://www.chartjs.org
* (c) 2022 Chart.js Contributors
* Released under the MIT License
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
},
"dependencies": {
"chart.js": "^3.7.0",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-plugin-datalabels": "^2.0.0",
"date-fns": "^3.6.0",
"serialize-javascript": "^4.0.0",
"sweetalert2": "^9.17.1",
"vue": "^3.2.31",
Expand Down
1 change: 1 addition & 0 deletions resources/js/chart-js-integration.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import ChartDataLabels from 'chartjs-plugin-datalabels';
import { Chart, registerables } from 'chart.js';
import 'chartjs-adapter-date-fns';

import StackedChart from './components/StackedChart'
import BarChart from './components/BarChart'
Expand Down
Loading