Skip to content

Commit

Permalink
docs: Fix code example in the docs (apertureless#422)
Browse files Browse the repository at this point in the history
### Fix or Enhancement?

documentation fix
  • Loading branch information
amadeann authored and apertureless committed Oct 11, 2018
1 parent 1f0b3d0 commit 7fd83f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ import { Line } from 'vue-chartjs'

export default {
extends: Line,
props: ['datasets', 'options']
props: ['datasets', 'options'],
data: () => ({
htmlLegend: null
})
}),
mounted () {
this.renderChart(this.datasets, this.options)
this.htmlLegend = this.generateLegend()
Expand Down

0 comments on commit 7fd83f8

Please sign in to comment.