Skip to content
Merged
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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"author": "Fangdun Cai <[email protected]>",
"license": "MIT",
"dependencies": {
"chart.js": "2.2.0-rc.1"
"chart.js": "2.2.1"
}
}
3 changes: 1 addition & 2 deletions src/Chartjs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
</template>

<script>
// import Chart from 'chart.js' // With moment.js
import Chart from 'chart.js/dist/Chart' // Without moment.js
import Chart from 'chart.js' // With moment.js

const types = ['line', 'bar', 'radar', 'polarArea', 'pie', 'doughnut']

Expand Down