Moving from a tabbed area to switching on account dropdown

This commit is contained in:
Jonathan Bobel
2024-06-13 10:29:59 -04:00
parent 468f6c9fc6
commit 0f738c8cb7
7 changed files with 660 additions and 183 deletions

View File

@@ -20,6 +20,7 @@
]
},
options: {
animation: false,
scales: {
y: {
beginAtZero: true
@@ -38,10 +39,12 @@
socket.on('daily_stats_update', function(data) {
var labels = [];
var deliveredData = [];
var failedData = [];
for (var date in data) {
labels.push(date);
deliveredData.push(data[date].sms.delivered);
}
myBarChart.data.labels = labels;