Skip to content

Commit e81c51c

Browse files
committed
Chart init
1 parent 1315119 commit e81c51c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/main/resources/static/assets/js/transactions.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var transactionsOverview = new Vue({
1717
decimalsInFloat: 2
1818
},
1919
chart: {
20-
height: 350,
20+
height: 300,
2121
type: "area",
2222
},
2323
dataLabels: {
@@ -32,17 +32,17 @@ var transactionsOverview = new Vue({
3232
},
3333
areaChart: '',
3434
pieOptions : {
35-
series: [1, 2, 3, 4, 5],
35+
series: [],
3636
chart: {
37-
height: 350,
37+
height: 300,
3838
type: 'donut',
3939
options: {
4040
chart: {
4141
id: "chart-id"
4242
}
4343
}
4444
},
45-
labels: ['a', 'b', 'c', 'd', 'e'],
45+
labels: [],
4646
responsive: [{
4747
breakpoint: 480,
4848
options: {
@@ -55,6 +55,10 @@ var transactionsOverview = new Vue({
5555
}
5656
}
5757
}]
58+
,
59+
noData: {
60+
text: 'Loading...'
61+
}
5862
},
5963
piechart:''
6064
},

0 commit comments

Comments
 (0)