From 154e284528edb25400f74c6c9db4fd31d6f0f476 Mon Sep 17 00:00:00 2001 From: Jakub Juszczak Date: Sat, 2 Sep 2017 15:11:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20default=20styles=20obje?= =?UTF-8?q?ct=20as=20it=20causes=20problems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will fix #176 Signed-off-by: Jakub Juszczak --- src/BaseCharts/Bar.js | 9 +-------- src/BaseCharts/Bubble.js | 9 +-------- src/BaseCharts/Doughnut.js | 9 +-------- src/BaseCharts/HorizontalBar.js | 9 +-------- src/BaseCharts/Line.js | 9 +-------- src/BaseCharts/Pie.js | 9 +-------- src/BaseCharts/PolarArea.js | 9 +-------- src/BaseCharts/Radar.js | 9 +-------- src/BaseCharts/Scatter.js | 9 +-------- 9 files changed, 9 insertions(+), 72 deletions(-) diff --git a/src/BaseCharts/Bar.js b/src/BaseCharts/Bar.js index 2025780c..dc7e01a9 100644 --- a/src/BaseCharts/Bar.js +++ b/src/BaseCharts/Bar.js @@ -41,14 +41,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } }, data () { diff --git a/src/BaseCharts/Bubble.js b/src/BaseCharts/Bubble.js index 991b0c2d..52635268 100644 --- a/src/BaseCharts/Bubble.js +++ b/src/BaseCharts/Bubble.js @@ -42,14 +42,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } }, diff --git a/src/BaseCharts/Doughnut.js b/src/BaseCharts/Doughnut.js index ab8732fa..003ce16f 100644 --- a/src/BaseCharts/Doughnut.js +++ b/src/BaseCharts/Doughnut.js @@ -42,14 +42,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } }, diff --git a/src/BaseCharts/HorizontalBar.js b/src/BaseCharts/HorizontalBar.js index 9f519bc9..107ba894 100644 --- a/src/BaseCharts/HorizontalBar.js +++ b/src/BaseCharts/HorizontalBar.js @@ -42,14 +42,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } }, diff --git a/src/BaseCharts/Line.js b/src/BaseCharts/Line.js index a1bde2ef..d4fc863d 100644 --- a/src/BaseCharts/Line.js +++ b/src/BaseCharts/Line.js @@ -42,14 +42,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } }, diff --git a/src/BaseCharts/Pie.js b/src/BaseCharts/Pie.js index 015770bf..5df4edc0 100644 --- a/src/BaseCharts/Pie.js +++ b/src/BaseCharts/Pie.js @@ -42,14 +42,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } }, diff --git a/src/BaseCharts/PolarArea.js b/src/BaseCharts/PolarArea.js index d422a3bb..916e7051 100644 --- a/src/BaseCharts/PolarArea.js +++ b/src/BaseCharts/PolarArea.js @@ -42,14 +42,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } }, diff --git a/src/BaseCharts/Radar.js b/src/BaseCharts/Radar.js index 14fe91f2..3775d783 100644 --- a/src/BaseCharts/Radar.js +++ b/src/BaseCharts/Radar.js @@ -42,14 +42,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } }, diff --git a/src/BaseCharts/Scatter.js b/src/BaseCharts/Scatter.js index 75fc285b..f484e38f 100644 --- a/src/BaseCharts/Scatter.js +++ b/src/BaseCharts/Scatter.js @@ -42,14 +42,7 @@ export default Vue.extend({ default: '' }, styles: { - type: Object, - default () { - return { - width: '100%', - height: '100%', - position: 'relative' - } - } + type: Object } },