Skip to content

Commit

Permalink
Merge pull request #16 from Ag47/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
apertureless authored Nov 7, 2016
2 parents 1d6e375 + 4d02df5 commit d2f2315
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ You can overwrite the default chart options. Just pass the options object as a s
import { Line } from 'vue-chartjs'

export default Line.extend({
props: [data, options],
props: ["data", "options"],
mounted () {
this.renderChart(this.data, this.options)
}
Expand Down Expand Up @@ -107,8 +107,8 @@ The mixins automatically create `chartData` as a prop or data. And add a watcher
import { Line, reactiveProp } from 'vue-chartjs'

export default Line.extend({
mixins: [reactiveProp]
props: [chartData, options],
mixins: [reactiveProp],
props: ["chartData", "options"],
mounted () {
this.renderChart(this.chartData, this.options)
}
Expand Down

0 comments on commit d2f2315

Please sign in to comment.