Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:apertureless/vue-chartjs into de…
Browse files Browse the repository at this point in the history
…velop

* 'develop' of github.com:apertureless/vue-chartjs:
  docs: Update README.md (apertureless#480)
  docs: Update README.md (apertureless#469)
  docs: Update README.md (apertureless#470)
  • Loading branch information
apertureless committed Mar 18, 2019
2 parents 2cecf07 + 2dd1ccb commit 446d7a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export default {
chartdata: {
type: Object,
default: null
}
},
options: {
type: Object,
default: null
Expand All @@ -370,7 +370,7 @@ Then create a container component, which handles your api call or vuex connectio
</template>

<script>
import LineChart from './LineChart.vue'
import LineChart from './Chart.vue'
export default {
name: 'LineChartContainer',
Expand Down Expand Up @@ -445,7 +445,7 @@ import Chart from 'chart.js'
// 2. Import the `generateChart()` method to create the vue component.
import { generateChart } from 'vue-chartjs'

// 3. Extend on of the default charts
// 3. Extend one of the default charts
// http://www.chartjs.org/docs/latest/developers/charts.html
Chart.defaults.LineWithLine = Chart.defaults.line;
Chart.controllers.LineWithLine = Chart.controllers.line.extend({ /* custom magic here */})
Expand Down

0 comments on commit 446d7a1

Please sign in to comment.