Skip to content

Commit

Permalink
Merge pull request #187 from apertureless/feature/fix_styles
Browse files Browse the repository at this point in the history
🔥 Remove default styles object as it causes problems
  • Loading branch information
apertureless authored Sep 2, 2017
2 parents 491625b + 154e284 commit 0569a9f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 72 deletions.
9 changes: 1 addition & 8 deletions src/BaseCharts/Bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},
data () {
Expand Down
9 changes: 1 addition & 8 deletions src/BaseCharts/Bubble.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},

Expand Down
9 changes: 1 addition & 8 deletions src/BaseCharts/Doughnut.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},

Expand Down
9 changes: 1 addition & 8 deletions src/BaseCharts/HorizontalBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},

Expand Down
9 changes: 1 addition & 8 deletions src/BaseCharts/Line.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},

Expand Down
9 changes: 1 addition & 8 deletions src/BaseCharts/Pie.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},

Expand Down
9 changes: 1 addition & 8 deletions src/BaseCharts/PolarArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},

Expand Down
9 changes: 1 addition & 8 deletions src/BaseCharts/Radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},

Expand Down
9 changes: 1 addition & 8 deletions src/BaseCharts/Scatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ export default Vue.extend({
default: ''
},
styles: {
type: Object,
default () {
return {
width: '100%',
height: '100%',
position: 'relative'
}
}
type: Object
}
},

Expand Down

0 comments on commit 0569a9f

Please sign in to comment.