engine/app/views/shared/_chart.erb in good_job-1.9.3 vs engine/app/views/shared/_chart.erb in good_job-1.9.4
- old
+ new
@@ -4,14 +4,15 @@
new Chartist.Line('#chart', <%== chart_data.to_json %>, {
height: '300px',
fullWidth: true,
chartPadding: {
right: 40,
- top: 20
+ top: 20,
+ bottom: 20
},
axisX: {
labelInterpolationFnc: function(value, index) {
- return index % 3 === 0 ? value : null;
+ return index % 3 === 0 ? value : null;
}
},
axisY: {
low: 0,
onlyInteger: true