Skip to content

Commit

Permalink
Fix bars
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorizzo committed Jan 6, 2020
1 parent 1150187 commit ad7aaf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vue-d3-barchart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ export default {
},
bars () {
let { scaleX, scaleY, percentX, percentY, colors } = this
return this.mappedData.map((d, i) => {
let { x, y } = d
return this.mappedData.map((m, i) => {
let { x, y, d } = m
return {
d,
xv: x,
Expand Down

0 comments on commit ad7aaf1

Please sign in to comment.