Browse Source

trying to fix display on IE9

pull/10/head
crunch 6 months ago
parent
commit
a95f405b68
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      Consulta_project/landing/static/js/stats.js

+ 4
- 4
Consulta_project/landing/static/js/stats.js View File

@@ -60,8 +60,8 @@ function createBarChart(series, labels, target_id) {
label: 'Number of votes',
backgroundColor: 'rgb(0,188,140)',
borderColor: '#282d32',
data: series,
}],
data: series
}]
},

// Configuration options go here
@@ -73,7 +73,7 @@ function createBarChart(series, labels, target_id) {
beginAtZero: true
}
}]
},
}
}
});
}
@@ -91,7 +91,7 @@ function createPieChart(series, labels, target_id) {
datasets: [{
backgroundColor: 'rgb(0,188,140)',
borderColor: '#282d32',
data: series,
data: series
}]
},



Loading…
Cancel
Save