{"_id":"@domoinc/best-time-line","_rev":"40-2140f76a31eec06b4fb22c11189d6741","name":"@domoinc/best-time-line","dist-tags":{"latest":"3.0.7"},"versions":{"3.0.4":{"name":"@domoinc/best-time-line","version":"3.0.4","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/best-time-line@3.0.4","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"}],"dist":{"shasum":"1ad7f642573a4174267201b8a9e7b1088b21e525","tarball":"https://registry.npmjs.org/@domoinc/best-time-line/-/best-time-line-3.0.4.tgz","integrity":"sha512-jUxuJ2ZtrIjuZIIHq7SwLrIr+CFyfviHjjL5aqYs5Fm+b5P8GlRVpYrf7M8POCqKx+aOzx/FRE9on7OblzVdGA==","signatures":[{"sig":"MEQCIEyUy47hkHHn+vS1JhZLBA5rQHDEFxDgaTK1D50N7c87AiBjX1W5kNcp5hrNDKFVFQt/AjuEjsicp5rmsB+BouhjxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"1ad7f642573a4174267201b8a9e7b1088b21e525","gitHead":"54159cc1795dd29ef1783a967aa44ab948830c5c","scripts":{},"_npmUser":{"name":"aharris88","email":"aharris88@gmail.com"},"repository":{"url":"https://git.empdev.domo.com/DA/yoWidget","type":"git"},"_npmVersion":"3.3.12","description":"BestTimeLine - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.0","@domoinc/base-widget":"^1.5.0","@domoinc/horizontal-heat-map-bar":"^3.0.3"},"devDependencies":{"grunt":"~0.4.2","request":"^2.40.0","shelljs":"^0.2.6","webpack":"^1.12.12","grunt-notify":"^0.3.0","grunt-prompt":"^1.1.0","grunt-release":"^0.13.0","grunt-webpack":"^1.0.11","jshint-stylish":"^0.1.5","grunt-port-pick":"^1.5.0","load-grunt-tasks":"^3.4.0","webpack-dev-server":"^1.14.1","grunt-contrib-clean":"^0.7.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-jshint":"~0.7.2","grunt-contrib-connect":"^0.7.1","grunt-conventional-changelog":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/best-time-line-3.0.4.tgz_1457363392578_0.6697387131862342","host":"packages-13-west.internal.npmjs.com"}},"3.0.5":{"name":"@domoinc/best-time-line","version":"3.0.5","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/best-time-line@3.0.5","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"},{"name":"andrewjensen","email":"andrewjensen90@gmail.com"},{"name":"bkingery","email":"brian.kingery@gmail.com"},{"name":"bmbarker-domo","email":"ben.barker@domo.com"},{"name":"clm","email":"chris.clm09@gmail.com"},{"name":"dallasnorton","email":"dallaslandonnorton@gmail.com"},{"name":"excrispy","email":"excrispy@gmail.com"},{"name":"freakaziod210","email":"freakaziod210@gmail.com"},{"name":"jaxry","email":"cabot696@gmail.com"},{"name":"jgalb","email":"jakegpv@gmail.com"},{"name":"jmstewart","email":"james.stewart42@gmail.com"},{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},{"name":"k4paul","email":"kellie.morgan@domo.com"},{"name":"lcwright21","email":"lance.wright@hotmail.com"},{"name":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"},{"name":"whitney.rosenberg","email":"whitney.rosenberg@domo.com"}],"dist":{"shasum":"b02dbf2d919fcc167c34c3b2a14e51e671baf174","tarball":"https://registry.npmjs.org/@domoinc/best-time-line/-/best-time-line-3.0.5.tgz","integrity":"sha512-UncpMCTNUOtNe0gvSR3PfUTP+vJN9m9/D9yavpFy2JnpuqGMtjWacroOLTMv+AdstlSu43JLeIiQAt+beQxTtw==","signatures":[{"sig":"MEYCIQDAzOEm3NlEKnwa7KRP5oAoiUlzcdn/rw2tkfgEV/epGwIhANoxUpVOmicwYf/hHXfNSzy5Bo1a7JD2cxSiUhVqrKoQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"b02dbf2d919fcc167c34c3b2a14e51e671baf174","gitHead":"954b6d8fd05667a7c1ed73a2f6dab1fea5b01557","scripts":{},"_npmUser":{"name":"aharris88","email":"aharris88@gmail.com"},"repository":{"url":"https://git.empdev.domo.com/DA/yoWidget","type":"git"},"_npmVersion":"3.3.12","description":"BestTimeLine - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.0","@domoinc/base-widget":"^1.5.0","@domoinc/horizontal-heat-map-bar":"^3.0.3"},"devDependencies":{"grunt":"~0.4.2","request":"^2.40.0","shelljs":"^0.2.6","webpack":"^1.12.12","grunt-notify":"^0.3.0","grunt-prompt":"^1.1.0","grunt-release":"^0.13.0","grunt-webpack":"^1.0.11","jshint-stylish":"^0.1.5","grunt-port-pick":"^1.5.0","load-grunt-tasks":"^3.4.0","webpack-dev-server":"^1.14.1","grunt-contrib-clean":"^0.7.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-jshint":"~0.7.2","grunt-contrib-connect":"^0.7.1","grunt-conventional-changelog":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/best-time-line-3.0.5.tgz_1457364353424_0.6831907783634961","host":"packages-13-west.internal.npmjs.com"}},"3.0.6":{"name":"@domoinc/best-time-line","version":"3.0.6","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/best-time-line@3.0.6","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"},{"name":"andrewjensen","email":"andrewjensen90@gmail.com"},{"name":"bkingery","email":"brian.kingery@gmail.com"},{"name":"bmbarker-domo","email":"ben.barker@domo.com"},{"name":"clm","email":"chris.clm09@gmail.com"},{"name":"dallasnorton","email":"dallaslandonnorton@gmail.com"},{"name":"excrispy","email":"excrispy@gmail.com"},{"name":"freakaziod210","email":"freakaziod210@gmail.com"},{"name":"jaxry","email":"cabot696@gmail.com"},{"name":"jgalb","email":"jakegpv@gmail.com"},{"name":"jmstewart","email":"james.stewart42@gmail.com"},{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},{"name":"k4paul","email":"kellie.morgan@domo.com"},{"name":"lcwright21","email":"lance.wright@hotmail.com"},{"name":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"},{"name":"whitney.rosenberg","email":"whitney.rosenberg@domo.com"}],"dist":{"shasum":"e862e859d2cd4ea5bc581e1190cca1ce806297c2","tarball":"https://registry.npmjs.org/@domoinc/best-time-line/-/best-time-line-3.0.6.tgz","integrity":"sha512-u9FYo/1cP5jzWiO7pWnTGbzEzc5Mvs0FsyysQ4b/YVZDkRStigEf8jn8+1Sy61MqlvNi3yKQ0VEmHcIcnFvtUA==","signatures":[{"sig":"MEUCIHNFjiTvOZpCHrvk3NVas5cLC8Baq6SLhQf428Gk/eEiAiEAg8GBxLIRZbBmLfVu7AWVWgVKG+L+YPslWFlesjTWVvI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"e862e859d2cd4ea5bc581e1190cca1ce806297c2","gitHead":"b0a49cb05339340feaff9a78bb76663e88c3381b","scripts":{},"_npmUser":{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},"repository":{"url":"https://git.empdev.domo.com/DA/yoWidget","type":"git"},"_npmVersion":"3.3.8","description":"BestTimeLine - Domo Widget","directories":{},"_nodeVersion":"4.2.1","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.0","@domoinc/base-widget":"^1.5.0","@domoinc/horizontal-heat-map-bar":"^3.0.3"},"devDependencies":{"grunt":"~0.4.2","request":"^2.40.0","shelljs":"^0.2.6","webpack":"^1.12.12","grunt-notify":"^0.3.0","grunt-prompt":"^1.1.0","grunt-release":"^0.13.0","grunt-webpack":"^1.0.11","jshint-stylish":"^0.1.5","grunt-port-pick":"^1.5.0","load-grunt-tasks":"^3.4.0","webpack-dev-server":"^1.14.1","grunt-contrib-clean":"^0.7.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-jshint":"~0.7.2","grunt-contrib-connect":"^0.7.1","grunt-conventional-changelog":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/best-time-line-3.0.6.tgz_1457458824877_0.5622141445055604","host":"packages-12-west.internal.npmjs.com"}},"3.0.7":{"name":"@domoinc/best-time-line","version":"3.0.7","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/best-time-line@3.0.7","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"},{"name":"andrewjensen","email":"andrewjensen90@gmail.com"},{"name":"bkingery","email":"brian.kingery@gmail.com"},{"name":"bmbarker-domo","email":"ben.barker@domo.com"},{"name":"clm","email":"chris.clm09@gmail.com"},{"name":"dallasnorton","email":"dallaslandonnorton@gmail.com"},{"name":"excrispy","email":"excrispy@gmail.com"},{"name":"freakaziod210","email":"freakaziod210@gmail.com"},{"name":"jaxry","email":"cabot696@gmail.com"},{"name":"jgalb","email":"jakegpv@gmail.com"},{"name":"jmstewart","email":"james.stewart42@gmail.com"},{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},{"name":"k4paul","email":"kellie.morgan@domo.com"},{"name":"lcwright21","email":"lance.wright@hotmail.com"},{"name":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"},{"name":"whitney.rosenberg","email":"whitney.rosenberg@domo.com"}],"dist":{"shasum":"64c4b1422187a5c2c2fc63e70e73c762c2bfea41","tarball":"https://registry.npmjs.org/@domoinc/best-time-line/-/best-time-line-3.0.7.tgz","integrity":"sha512-x6RXTBjUskq2b82FkGtGLsphfw52lAY03U6UR5loO68Bib2SKcjWrRur+8cQnEwAKhf6NeJ/qumz3vBiqkjZ8w==","signatures":[{"sig":"MEYCIQC8LRUnmcOIMMfHE1eAXaOw1hoEdVsnSXL5wr2qn/diyAIhALVv/UU07aLpWKvwB763ZCec7dSqTpJ45Lh4i1uv3tTw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxE+CRA9TVsSAnZWagAA+s4QAI/rNL/AYB1mIFCoqVJ8\ngBQnYOCsfYmag8YZ7qVXAGtVCbP152qFnl2aoGikw7/930Ilvf0W6uIfQyPo\nhyJUOhu8W7YnTX1wVjO7b+fXd5Z1bqiLekXT/QMOO8ThCf74eX5978w0QCcU\nXmR64r0A2vYPfTAnFWs+QbYP7D2iWCatqPkC7G4v2vU2Y6zLmxP288QC8gt1\nEdX2jMd66i1wlRivLp8A7aquyv8lHxhVh2OgAMSAu3LO52wDT8fG+HZrW6O2\nqMK7Yf0wdf5DGqonWdQN5B4ElVFAzDDtUathW9f0G37FG06ORrT5H3RFWg/E\nQulvqW4zmmagMXb58bg65yrUoZBjBhO7FepI827F8+zsGBp2TI6nHHU3QQjP\npCFHoUa8Xk3KahjhLecyyHzB8jbxeGX87KcweJX3JzulJ1Du+aIkrtG1330R\nPkwWsBzpCnNfqOPDX6ARdShsQWtyJbKEPc1bA473/Ew4BS91rlRXaYx0v/N9\nObxyxgkfwcaJvEBbJJ8uMmhC40YJJ/V9n4FPuR7gX+2ug0tQnZPVBIwRdVGF\nrzz+PIwMBLol9SdkOuB7hNP8BFUSum6L9OTVQN8hPVpYSR9VM+vKB7D0z1ik\nzcRBP+GJ5slob4HNaOLRN5d0GZ4w4Ev7YgiyXLQpE9EIfpRmxQTH24uWXdKp\nGPEN\r\n=tqop\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"64c4b1422187a5c2c2fc63e70e73c762c2bfea41","gitHead":"49df198dd08f0229c5aea2513881cbc31e48d79c","scripts":{},"_npmUser":{"name":"jmstewart","email":"james.stewart42@gmail.com"},"repository":{"url":"https://git.empdev.domo.com/DA/yoWidget","type":"git"},"_npmVersion":"3.6.0","description":"BestTimeLine - Domo Widget","directories":{},"_nodeVersion":"5.6.0","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.0","@domoinc/base-widget":"^1.5.0","@domoinc/horizontal-heat-map-bar":"^3.0.3"},"devDependencies":{"grunt":"~0.4.2","request":"^2.40.0","shelljs":"^0.2.6","webpack":"^1.12.12","grunt-notify":"^0.3.0","grunt-prompt":"^1.1.0","grunt-release":"^0.13.0","grunt-webpack":"^1.0.11","jshint-stylish":"^0.1.5","grunt-port-pick":"^1.5.0","load-grunt-tasks":"^3.4.0","webpack-dev-server":"^1.14.1","grunt-contrib-clean":"^0.7.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-jshint":"~0.7.2","grunt-contrib-connect":"^0.7.1","grunt-conventional-changelog":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/best-time-line-3.0.7.tgz_1457486509899_0.3159118688199669","host":"packages-13-west.internal.npmjs.com"}}},"time":{"created":"2016-03-07T15:09:54.244Z","modified":"2026-02-27T17:23:44.109Z","3.0.4":"2016-03-07T15:09:54.244Z","3.0.5":"2016-03-07T15:25:55.019Z","3.0.6":"2016-03-08T17:40:29.439Z","3.0.7":"2016-03-09T01:21:52.427Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["domo","app"],"repository":{"url":"https://git.empdev.domo.com/DA/yoWidget","type":"git"},"description":"BestTimeLine - Domo Widget","maintainers":[{"email":"trevor.tingey@domo.com","name":"ttingey"},{"email":"morganjohn12@gmail.com","name":"morganjohn12"},{"email":"jeff.smith@domo.com","name":"jeff.smith"},{"email":"cgrieb9@gmail.com","name":"congrieb"},{"email":"spencer@myweb-host.net","name":"th3uiguy"},{"email":"jason.hansen@domo.com","name":"domo_json"},{"email":"jon.tiritilli@domo.com","name":"jontiritilli-domo"}],"readme":"# BestTimeLine\n\nA heatmap for hours of the day.\n\n\n\n## Configuration Options\n\n\n#### biggerIsBetter\nType: `select`  \nDefault: `{\"name\":\"Bigger Is Good Color\",\"value\":true}`  \n\nSet what color to display based on the value\n\n#### bubbleStrokeGoodColor\nType: `color`  \nDefault: `\"function () {\\n\\t                    return _Chart.c('firstGoodColor');\\n\\t                }\"`  \n\nundefined\n\n#### chartName\nType: `string`  \nDefault: `\"BestTimeLine\"`  \n\nName of chart for reporting\n\n#### chartScale\nType: `number`  \nDefault: `1`  \n\nThe size of the chart based on the scale\n\n#### firstBadColor\nType: `color`  \nDefault: `\"#e4584f\"`  \n\nFill for the worst values\n\n#### firstGoodColor\nType: `color`  \nDefault: `\"#46988A\"`  \n\nFill for the best values\n\n#### height\nType: `number`  \nDefault: `130.48`  \nUnits: `px`\n\nHeight of the chart\n\n#### isOnMobile\nType: `boolean`  \nDefault: `false`  \n\nIf true, it signals to the widget that it is running on a mobile device. Should be called before draw and then NEVER changed.\n\n#### lineColor\nType: `color`  \nDefault: `\"#E3E3E3\"`  \n\nLine color for the axes\n\n#### secondBadColor\nType: `color`  \nDefault: `\"#f68d35\"`  \n\nFill for the bad values\n\n#### secondGoodColor\nType: `color`  \nDefault: `\"#8fd1bc\"`  \n\nFill for the good values\n\n#### shouldValidate\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off data validation\n\n#### strokeColor\nType: `color`  \nDefault: `\"#FFFFFF\"`  \n\nBorder color for each component\n\n#### textColor\nType: `color`  \nDefault: `\"#888888\"`  \n\nFont color for the text\n\n#### textFontFamily\nType: `string`  \nDefault: `\"Open Sans\"`  \n\nFont type for the text\n\n#### updateSizeableConfigs\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off the mimic of illustrator's scale functionality\n\n#### width\nType: `number`  \nDefault: `466`  \nUnits: `px`\n\nWidth of the widget\n\n## Data Definition\n\n\n#### Hour\nType: `number`\n\nDefault validate:  \n```js\nfunction (d) {\n\t                    return typeof this.accessor(d) === 'number' &&\n\t                        !isNaN(this.accessor(d)) &&\n\t                        this.accessor(d) >= 0 && this.accessor(d) < 24;\n\t                }\n```\n\nDefault accessor:  \n```js\nfunction (line) {\n\t                    if (line[1] === '') {\n\t                        return NaN;\n\t                    }\n\t                    return Number(line[0]);\n\t                }\n```\n\n#### Value\nType: `number`\n\nDefault validate:  \n```js\nfunction (d) {\n\t                    return typeof this.accessor(d) === 'number' && !isNaN(this.accessor(d)) &&\n\t                        this.accessor(d) >= 0;\n\t                }\n```\n\nDefault accessor:  \n```js\nfunction (line) {\n\t                    if (line[1] === '') {\n\t                        return NaN;\n\t                    }\n\t                    return Number(line[1]);\n\t                }\n```\n\n## Events\n\n\n#### Dispatch Events\n\n#### External Events\n\n\n## Example\n\n```js  \n//Setup some fake data\nvar data = [\n  [0, 211],\n  [1, 815],\n  [2, 770],\n  [3, 322],\n  [4, 387],\n  [5, 379],\n  [6, 669],\n  [7, 137],\n  [8, 834],\n  [9, 149],\n  [10, 405],\n  [11, 324],\n  [12, 798],\n  [13, 600],\n  [14, 813],\n  [15, 994],\n  [16, 731],\n  [17, 449],\n  [18, 499],\n  [19, 405],\n  [20, 864],\n  [21, 417],\n  [22, 906],\n  [23, 712],\n];\n\n//Initialze the widget\nvar svg = d3.select('#vis')\n  .append('svg');\n\n\nvar chart = svg\n  .attr({\n    height: '500px',\n    width: '500px',\n  })\n  .append(\"g\")\n  .attr('transform', 'translate(10, 170)')\n  .chart(\"BestTimeLine\")\n  .c({\n    width: 515,\n    biggerIsBetter: true,\n  });\n\n//Render the chart with data\nchart._notifier.showMessage(true);\nchart.draw(data);\n\n```\n\n","readmeFilename":"README.md"}