Skip to content

Commit 9f02e95

Browse files
committed
πŸ› Fix props
1 parent d80eace commit 9f02e95

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

β€Žsrc/BaseCharts/Bar.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
55
export default Vue.extend({
66
template: `
77
<div>
8-
<canvas id="bar-chart" width=width height=height v-el:canvas></canvas>
8+
<canvas id="bar-chart" width="{{width}}" height="{{height}}" v-el:canvas></canvas>
99
</div>
1010
`,
1111

β€Žsrc/BaseCharts/Doughnut.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
55
export default Vue.extend({
66
template: `
77
<div>
8-
<canvas id="doughnut-chart" width=width height=height v-el:canvas></canvas>
8+
<canvas id="doughnut-chart" width={{width}} height={{height}} v-el:canvas></canvas>
99
</div>
1010
`,
1111

β€Žsrc/BaseCharts/Line.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
55
export default Vue.extend({
66
template: `
77
<div>
8-
<canvas id="line-chart" width=width height=height v-el:canvas></canvas>
8+
<canvas id="line-chart" width={{width}} height={{height}} v-el:canvas></canvas>
99
</div>
1010
`,
1111

β€Žsrc/BaseCharts/Pie.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
55
export default Vue.extend({
66
template: `
77
<div>
8-
<canvas id="pie-chart" width=width height=height v-el:canvas></canvas>
8+
<canvas id="pie-chart" width={{width}} height={{height}} v-el:canvas></canvas>
99
</div>
1010
`,
1111

β€Žsrc/BaseCharts/PolarArea.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
55
export default Vue.extend({
66
template: `
77
<div>
8-
<canvas id="polar-chart" width=width height=height v-el:canvas></canvas>
8+
<canvas id="polar-chart" width={{width}} height={{height}} v-el:canvas></canvas>
99
</div>
1010
`,
1111

β€Žsrc/BaseCharts/Radar.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
55
export default Vue.extend({
66
template: `
77
<div>
8-
<canvas id="radar-chart" width=width height=height v-el:canvas></canvas>
8+
<canvas id="radar-chart" width={{width}} height={{height}} v-el:canvas></canvas>
99
</div>
1010
`,
1111

0 commit comments

Comments
Β (0)