Skip to content

Instantly share code, notes, and snippets.

View heatmap-calendar.js
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();
View ag-grid-demo.js
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,
View ag-Grid-nicktest.js
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 },
View unpivoted-dates.json
This file has been truncated, but you can view the full file.
[
{
"Month": "Jan",
"One": "ZNDBP DQBHNQS V2 XQHBP",
"Two": "NZVB",
"Three": null,
"Four": null,
"Five": null,
"Six": null,
View unpivoted-children.json
[
{
"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",
View unpivoted-children.json
[
{
"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",
View map_1.topojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:e6519bdfcab1d4ebe204
### 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: