We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06723d commit e2cfcf3Copy full SHA for e2cfcf3
src/views/Home.vue
@@ -60,7 +60,7 @@
60
>
61
<line-chart
62
:chart-data="chartData"
63
- :chart-options="{responsive: true}"
+ :chart-options="chartOptions"
64
:style="{height: '100%'}"
65
/>
66
</div>
@@ -102,7 +102,24 @@ export default {
102
data () {
103
return {
104
titleStack: ['Admin', 'Dashboard'],
105
- chartData: null
+ chartData: null,
106
+ chartOptions: {
107
+ responsive: true,
108
+ maintainAspectRatio: true,
109
+ scales: {
110
+ y: {
111
+ display: false
112
+ },
113
+ x: {
114
+ display: true
115
+ }
116
117
+ plugins: {
118
+ legend: {
119
120
121
122
123
}
124
},
125
mounted () {
0 commit comments