File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
5
5
export default Vue . extend ( {
6
6
template : `
7
7
<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>
9
9
</div>
10
10
` ,
11
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
5
5
export default Vue . extend ( {
6
6
template : `
7
7
<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>
9
9
</div>
10
10
` ,
11
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
5
5
export default Vue . extend ( {
6
6
template : `
7
7
<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>
9
9
</div>
10
10
` ,
11
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
5
5
export default Vue . extend ( {
6
6
template : `
7
7
<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>
9
9
</div>
10
10
` ,
11
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
5
5
export default Vue . extend ( {
6
6
template : `
7
7
<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>
9
9
</div>
10
10
` ,
11
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { mergeOptions } from '../helpers/options'
5
5
export default Vue . extend ( {
6
6
template : `
7
7
<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>
9
9
</div>
10
10
` ,
11
11
You canβt perform that action at this time.
0 commit comments