Total sales summary was always the last value in the column (#1163)
No need to JSON.decode a JSON value :D
xchart does sort values by label, day view was broken (#1163)