Difference between revisions of "Template:Waterloo/Pages/cal-heatmap-test"
Line 10: | Line 10: | ||
cal.init({ | cal.init({ | ||
start: new Date(2015, 4), | start: new Date(2015, 4), | ||
− | data:"https://2015.igem.org/wiki/index.php?title=Template:Waterloo/JS/ | + | data:"https://2015.igem.org/wiki/index.php?title=Template:Waterloo/JS/days&action=raw&ctype=text/javascript", |
dataType: "json", | dataType: "json", | ||
domain : "month", | domain : "month", | ||
+ | subDomain : "day", | ||
+ | range : 5, | ||
+ | scale: [10,20,30,40,50,60,70,80,90], | ||
+ | itemName: ['%','%'], | ||
+ | cellsize: 12, | ||
+ | format: { | ||
+ | date: "%Y-%m-%d", | ||
+ | legend: "%B" | ||
+ | } | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 22:19, 13 September 2015