Reversed PunchCard days: (Now top -> bottom = Monday -> Sunday)

This commit is contained in:
Rsl1122 2018-02-11 15:23:42 +02:00
parent 69c8111be8
commit cdbd8f9496

View File

@ -16,7 +16,11 @@ function punchCard(id, punchcardSeries) {
timezoneOffset: 0 timezoneOffset: 0
}, },
yAxis: { yAxis: {
categories: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'] title: {
text: "Day of the Week"
},
reversed: true,
categories: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
}, },
tooltip: { tooltip: {
pointFormat: 'Activity: {point.z}' pointFormat: 'Activity: {point.z}'