Migrated charts to v3

pull/496/head
Cagatay Civici 2020-09-22 16:08:44 +03:00
parent 1375a8e9c2
commit ecfd5f8501
2 changed files with 12 additions and 6 deletions

View File

@ -12,8 +12,14 @@ export default {
type: String,
data: null,
options: null,
width: Number,
height: Number
width: {
type: Number,
default: 300
},
height: {
type: Number,
default: 150
},
},
chart: null,
mounted() {

View File

@ -112,14 +112,14 @@ options: {
</tr>
<tr>
<td>width</td>
<td>string</td>
<td>null</td>
<td>number</td>
<td>300</td>
<td>Width of the chart in non-responsive mode.</td>
</tr>
<tr>
<td>height</td>
<td>string</td>
<td>null</td>
<td>number</td>
<td>150</td>
<td>Height of the chart in non-responsive mode.</td>
</tr>
</tbody>