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, type: String,
data: null, data: null,
options: null, options: null,
width: Number, width: {
height: Number type: Number,
default: 300
},
height: {
type: Number,
default: 150
},
}, },
chart: null, chart: null,
mounted() { mounted() {

View File

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