{"_id":"@domoinc/horizontal-heat-map-bar","_rev":"37-d10ecd664b2da599340f36902d99e1a4","name":"@domoinc/horizontal-heat-map-bar","dist-tags":{"latest":"3.0.3"},"versions":{"3.0.0":{"name":"@domoinc/horizontal-heat-map-bar","version":"3.0.0","keywords":["domo","app"],"author":{"name":"Domo Apps Team"},"license":"MIT","_id":"@domoinc/horizontal-heat-map-bar@3.0.0","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"}],"dist":{"shasum":"7a862481513f6ea081d79f7a94419a0cfc231525","tarball":"https://registry.npmjs.org/@domoinc/horizontal-heat-map-bar/-/horizontal-heat-map-bar-3.0.0.tgz","integrity":"sha512-N417wP1tZ/QedRllXeUrVO4Rxv0bQa8DDm1IAb2s8phxnhQuIGmicHFUfbD+BNaWFwnGFGIWj4CCZl453juMGA==","signatures":[{"sig":"MEUCIDR9dU6TUQEX2PDZwljuRH1uc4gH1gjl/nij4mP6K+g0AiEAgnMK0fsgXlIGh5388jlZBqYJjCwa1WyLqVprDqP9egk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"7a862481513f6ea081d79f7a94419a0cfc231525","gitHead":"ecc38654a7d225803347b32c4c1ff544a1942f01","scripts":{},"_npmUser":{"name":"aharris88","email":"aharris88@gmail.com"},"repository":{"url":"https://git.empdev.domo.com/DA/yoWidget","type":"git"},"_npmVersion":"3.3.12","description":"HorizontalHeatMapBar - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.1.0","@domoinc/utilities":"^4.2.0","@domoinc/basewidget":"^1.2.1"},"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.10.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-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/horizontal-heat-map-bar-3.0.0.tgz_1454525125494_0.8792561166919768","host":"packages-5-east.internal.npmjs.com"}},"3.0.3":{"name":"@domoinc/horizontal-heat-map-bar","version":"3.0.3","keywords":["domo","app"],"author":{"name":"Domo Apps Team"},"license":"MIT","_id":"@domoinc/horizontal-heat-map-bar@3.0.3","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":"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":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"}],"dist":{"shasum":"47d370fb1071205b0b781a6b6939ae143e4aa365","tarball":"https://registry.npmjs.org/@domoinc/horizontal-heat-map-bar/-/horizontal-heat-map-bar-3.0.3.tgz","integrity":"sha512-zf+HolHYtF9IGlh7M+DJneKvEG5fCLcb9y0SJwAh4J0jyj3ThWjZMkUhlqrAi4tWvl5BNbaF2fEnRgc/VXFKRw==","signatures":[{"sig":"MEUCIQDRpDJqa1dpv2cWnTMTKOdAvBtLvQLKjLwsg5YqsRZwrAIgYB7b/LAFvjSHJD68EGEiETPQu1vdMtKzPZbb5aMncQw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxIeCRA9TVsSAnZWagAAm68P/it1QfudDivE1EkhyBwu\nr6WkQmZclNX0NOWoQXc59icSw0q/nhqYXKNzpLIBXbOp8UXl9vayK0U6oemN\n/uD3+WNCyl/qM4mWDZaKvTpuxikVvpo2LjsgR1wU1sfvoiP8vs+9HG6rIQiP\n6d5LgryPjUxRrEf2NITgjL8ZUuoJJpi1ro0nxVdGXsSokmB8k8fu/mOt7OHv\nCuCmFeT8zQiqWnxgZXMSaahxkZjQuYgOdEbesymrtkfPOhqzpceom/kgQ0ot\nRsSTr8aDo30L2Dr569Qig9PW1WiQk6BOiGcjyYmSgw9GWQizxFalwpjPooqz\nJfnEMyEj3bpZ9fYj1shrDcECUkZInQftPw/9ldBgBY4UhnMXtDFO85dt/qMc\ncmId2lywWHR1sD+6ujfdsNsFGdFJbxrBsWS2LUbgOHsQr2QFOm44utXx83LF\n+rgYACb3+hnnYPEnNmRCBjNjMH9FZ7CKfAg66ePHVn1sebiMU53hh3b3a6Uf\nd9ymEdsGsdxzUVYu1RqmncGVkoAkzJnfjJIWPdv9TnhqhQO5wOIlrFJyv5yd\nDwUfHLT2+3OCh+M+4fs00ZzrsgpbTS9Dq2Xvrz7paBhWm2C234+qOj4dSC4u\npYOt1vmEGtFBPM1JLbvEHdggK5h3W52GaIL9JmNRx7661SqkfHJu4lyT9K/o\nUUOP\r\n=hazP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"47d370fb1071205b0b781a6b6939ae143e4aa365","gitHead":"f658558544570b9f68fff94bdc180f440421bbfb","scripts":{},"_npmUser":{"name":"excrispy","email":"excrispy@gmail.com"},"repository":{"url":"https://git.empdev.domo.com/DA/yoWidget","type":"git"},"_npmVersion":"3.7.2","description":"HorizontalHeatMapBar - Domo Widget","directories":{},"_nodeVersion":"5.2.0","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.0","@domoinc/utilities":"^4.2.3","@domoinc/base-widget":"^1.5.0"},"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-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/horizontal-heat-map-bar-3.0.3.tgz_1455147516711_0.3825313688721508","host":"packages-5-east.internal.npmjs.com"}}},"time":{"created":"2016-02-03T18:45:26.977Z","modified":"2026-02-27T17:28:22.604Z","3.0.0":"2016-02-03T18:45:26.977Z","3.0.3":"2016-02-10T23:38:38.388Z"},"author":{"name":"Domo Apps Team"},"license":"MIT","keywords":["domo","app"],"repository":{"url":"https://git.empdev.domo.com/DA/yoWidget","type":"git"},"description":"HorizontalHeatMapBar - 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":"# HorizontalHeatMapBar\nHere goes a brief description of your widget\n\n![Widget](img/local-728x728-widget.png)\n\n## Config\n\n``` js\nthis._config = {\n\theight: {\t\t\t\t\t\t\t\t\t\t// Name of config Item\n\t\tname: 'Chart Height',\t\t\t\t\t\t// [Optional] - This is the human readable name for this config item in Title Case. It should only be set if this is something that an end user would want to configure.\n\t\tdescription: 'Height of the chart.',\t\t// Human readable description.\n\t\ttype: 'number',\t\t\t\t\t\t\t\t// [Optional] - Value type. Will be used for UI elements in future.\n\t\tvalue: 100\t\t\t\t\t\t\t\t\t// Default value for item\n\t},\n\twidth: {\n\t\tname: 'Chart Width'\n\t\tdescription: 'Width of the chart.',\n\t\ttype: 'number',\n\t\tvalue: 100\n\t},\n\tshouldValidate: {\n\t\tdescription: 'Flag for turning off data validation.',\n\t\ttype: 'boolean',\n\t\tvalue: true\n\t},\n\tchartName: {\n\t\tdescription: 'Name of chart for Reporting.',\n\t\ttype: 'string',\n\t\tvalue: 'HorizontalHeatMapBar'\n\t}\n};\n```\n\n## Data Definition\n``` js\n//----------------------------------------------------------------------------------\n// Data Definition:\n// Set functions on how to access and validate data values.\n//----------------------------------------------------------------------------------\n_Chart._newDataDefinition = {\n\t'Label': {\n\t\ttype: 'string', \t\t\t\t\t\t\t\t\t\t\t\t\t// Expected type for column...\n\t\tvalidate: function (d) { return this.accessor(d) !== undefined; }, \t// Validation function\n\t\taccessor: function (line) { return String(line[0]); }, \t\t\t\t// Accessor function\n\t},\n\t'Value': {\n\t\ttype: 'number',\n\t\tvalidate: function (d) { return !isNaN(this.accessor(d)) && this.accessor(d) >= 0; },\n\t\taccessor: function (line) { return Number(line[1]); },\n\t}\n};\n```\n\n## Create Widget\n``` js\n//Setup some fake data\nvar data = [\n\t[1,2,3],\n\t[4,5,6],\n\t[7,8,9]\n];\n\n//Initialze the widget\nvar chart = d3.select(\"#vis\")\n\t.append(\"svg\")\n\t.append(\"g\")\n\t.attr(\"transform\", \"translate(50,50)\")\n\t.chart(\"HorizontalHeatMapBar\")\n\t.width(250)\n\t.height(250);\n\n//Render the chart with data\nchart._notifier.showMessage(true);\nchart.draw(data);\n```\n","readmeFilename":"README.md"}