This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function calendarHeatmap() { | |
// defaults | |
var width = 750; | |
var height = 110; | |
var legendWidth = 150; | |
var selector = 'body'; | |
var SQUARE_LENGTH = 11; | |
var SQUARE_PADDING = 2; | |
var MONTH_LABEL_PADDING = 6; | |
var now = moment().endOf('day').toDate(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
agGrid.LicenseManager.setLicenseKey("Evaluation_License_Valid_Until__24_November_2018__MTU0MzAxNzYwMDAwMA==a39c92782187aa78196ed1593ccd1527"); | |
var columnDefs = []; | |
// let the grid know which columns and what data to use | |
var gridOptions = { | |
columnDefs: columnDefs, | |
enableSorting: false, | |
enableFilter: false, | |
rowData: null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
agGrid.LicenseManager.setLicenseKey("Evaluation_License_Valid_Until__24_November_2018__MTU0MzAxNzYwMDAwMA==a39c92782187aa78196ed1593ccd1527"); | |
var columnDefs = [ | |
// {headerName: "Foo Group", showRowGroup:"One", cellRenderer:'agGroupCellRenderer', width: 100}, | |
// {headerName: "Month", field: 'time_period', pivot: true, hide: true}, | |
{headerName: "One", field: 'one', rowGroup: true, hide: true }, | |
{headerName: "Two", field: 'two', rowGroup: true, hide: true}, | |
{headerName: "Three", field: 'three', rowGroup: true, hide: true }, | |
{headerName: "Four", field: 'four', rowGroup: true, hide: true }, | |
{headerName: "Five", field: 'five', rowGroup: true, hide: true }, |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Month": "Jan", | |
"One": "ZNDBP DQBHNQS V2 XQHBP", | |
"Two": "NZVB", | |
"Three": null, | |
"Four": null, | |
"Five": null, | |
"Six": null, | |
"Seven": null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Month": "Jan", | |
"One": "ZNDBP DQBHNQS V2 XQHBP", | |
"Two": "NZVB", | |
"Three": "XBZ", | |
"Four": "XBZ ZQD", | |
"Five": "XBZ ZQD XNXNQBQ", | |
"Six": "XBZ ZQD XNXNQBQ XZB", | |
"Seven": "XBZ ZQD XNXNQBQ XZB 20SX", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Month": "Jan", | |
"One": "ZNDBP DQBHNQS V2 XQHBP", | |
"Two": "NZVB", | |
"Three": "XBZ", | |
"Four": "XBZ ZQD", | |
"Five": "XBZ ZQD XNXNQBQ", | |
"Six": "XBZ ZQD XNXNQBQ XZB", | |
"Seven": "XBZ ZQD XNXNQBQ XZB 20SX", |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am nickfogler on github. | |
* I am nickfogler (https://keybase.io/nickfogler) on keybase. | |
* I have a public key whose fingerprint is B39E CB05 3622 77ED F0F6 04DA 2CAC 729D 2492 3472 | |
To claim this, I am signing this object: |