{"_id":"@domoinc/multi-bar-capacity-gauge","_rev":"38-1f7303913792b858467e8d8835998ef7","name":"@domoinc/multi-bar-capacity-gauge","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.0":{"name":"@domoinc/multi-bar-capacity-gauge","version":"2.0.0","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/multi-bar-capacity-gauge@2.0.0","maintainers":[{"name":"jmstewart","email":"james.stewart42@gmail.com"}],"dist":{"shasum":"e999388e8a7c7412253a9ede77ef5d1af9a4ae19","tarball":"https://registry.npmjs.org/@domoinc/multi-bar-capacity-gauge/-/multi-bar-capacity-gauge-2.0.0.tgz","integrity":"sha512-ws5Kp1Lo/+9a7k2CDwYw/z6ogBgbqCqyLF0a1sx7v7ncMsuBJbGa2V/c5BQ+Sw/rRnkMKB5tLPpKtsSRjcxySw==","signatures":[{"sig":"MEYCIQC+7ExpJ+c1v9iV6uDqNZyoy2Yrq0zPq5Sz4Hf6ylfBPQIhAMB3ciucTk32X6JjlMGaCFfPT/jlqVtlyO2vswY/YdMW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"e999388e8a7c7412253a9ede77ef5d1af9a4ae19","gitHead":"3c43a82ffa890458ab34ca5098bbf93d93ff6423","scripts":{},"_npmUser":{"name":"jmstewart","email":"james.stewart42@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.7.1","description":"MultiBarCapacityGauge - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.15","d3.chart":"^0.3.0","@domoinc/axis":"^4.2.7","@domoinc/da-theme":"^4.2.1","@domoinc/da-theme2":"^2.3.1","@domoinc/base-widget":"^1.5.0","@domoinc/bar-capacity-gauge":"^2.0.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-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/multi-bar-capacity-gauge-2.0.0.tgz_1455731936677_0.6477176854386926","host":"packages-9-west.internal.npmjs.com"}},"2.0.1":{"name":"@domoinc/multi-bar-capacity-gauge","version":"2.0.1","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/multi-bar-capacity-gauge@2.0.1","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":"d079ece0f7cf9bea36574328a76c82f03d6886d0","tarball":"https://registry.npmjs.org/@domoinc/multi-bar-capacity-gauge/-/multi-bar-capacity-gauge-2.0.1.tgz","integrity":"sha512-ULhxHrH4CV+eKlI6oApSrl8gK2mJlaq35ZStFC2lV0jr61QbTxJsU+DguxAsOMkfijcVnPZvib1JFAwZfYc+XQ==","signatures":[{"sig":"MEUCIEqhMazrbWkMvRiBq3hbIwdYea5j4IUExh4m+FKWMNB+AiEA577AeKsXqkKcmAybWqAbIG6opcU2yp0W/oH2IaPtFms=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"d079ece0f7cf9bea36574328a76c82f03d6886d0","gitHead":"292c68fc63b891600bcb5255e456cb91bf80e341","scripts":{},"_npmUser":{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.8","description":"MultiBarCapacityGauge - Domo Widget","directories":{},"_nodeVersion":"4.2.1","dependencies":{"d3":"^3.5.15","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.1","@domoinc/base-widget":"^1.5.2","@domoinc/bar-capacity-gauge":"^2.0.2"},"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/multi-bar-capacity-gauge-2.0.1.tgz_1457469704208_0.9228931351099163","host":"packages-12-west.internal.npmjs.com"}},"2.0.2":{"name":"@domoinc/multi-bar-capacity-gauge","version":"2.0.2","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/multi-bar-capacity-gauge@2.0.2","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":"2913cf2fe2675f482af643f7306539e99a5faab5","tarball":"https://registry.npmjs.org/@domoinc/multi-bar-capacity-gauge/-/multi-bar-capacity-gauge-2.0.2.tgz","integrity":"sha512-+2U8suOqeP19spFpX3SMx943ZlbwvTYUslSZo+XJssStEBfzUMKRlKaelwmS6iYp2bMNNpIqEby56i4rz/4kdg==","signatures":[{"sig":"MEUCIQDwC1k4d7EPorMH+G7xLUZh4GS3stgrIjI+WeXMfYFbeQIgAjR/6RCz7GiIClyZFEE4TNk0d7IiESjxFB2AECGI+a4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxI6CRA9TVsSAnZWagAAIl8QAJS5MFHco2d4aiF8XpSJ\nyu0XVZJEMKDTjxR+rWqf5K5ujpaFmP1PNw46GUF0sMG9NTeGY19aL4H72slL\n3RiqyWyGfyG6afg+O64rY7CUzIGp1KCOn0D9CErlj8Efdu3faRAizyiESCKY\n8YHg3twOppuEJrqKMHZJdV9kUSJG8V31WvEL6DawfRShIan0Vyk4fLFmm9Yb\nwQMOoLLLV+yUlyKk6p/S57nOJDdDwac+CJ3M7+DEM3qK+v9m97Yr8GNTiOxO\nS+Ha6yLxE2Ae9pSGdOOgPHHt/BHOtDNBUQwUGsF9hNeI+LWUALs1TuDX5sBw\nmd3uCcNqZp7dk627CKnZzkAsQtMy+ScI7m+JnpMGSg5bstaTpJAU3MG4G2+8\nIKQK/y+hD7DZczUxA1mVjyIFOZOVyGtIeH1gp+W4cx96oeFzahU9a/XVhh1f\nrz1fThwZHB10lut2oTBvgMblZ/GkqWtf0B4qXQYAOG5hWRoG3LXoqsFEW0et\nwdCOpWr6QIpyxs4/VFibh4NIKPQnStA9ehwGh+W+SBITZQlApKnQC0yQrPZc\nj9uOb02dHLIRdrtgMtfkFDVqTrj9ZrgdaB5+3DKBJF5+pe1XXRDuSvYxfD6f\nqSA2jYFWJhnZoLy/nkHwtO/vKeugZM0HvuB0Smkft5jLXK29t0PTBSeT5kEL\nYjdK\r\n=2vye\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"2913cf2fe2675f482af643f7306539e99a5faab5","gitHead":"884af415da59995661401794c2dcef17b0b04833","scripts":{},"_npmUser":{"name":"aharris88","email":"aharris88@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.12","description":"MultiBarCapacityGauge - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.15","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.1","@domoinc/base-widget":"^1.5.2","@domoinc/bar-capacity-gauge":"^2.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/multi-bar-capacity-gauge-2.0.2.tgz_1458073738957_0.9939246063586324","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-02-17T17:59:01.301Z","modified":"2026-02-27T17:24:28.416Z","2.0.0":"2016-02-17T17:59:01.301Z","2.0.1":"2016-03-08T20:41:46.880Z","2.0.2":"2016-03-15T20:28:59.441Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["domo","app"],"repository":{"type":"git"},"description":"MultiBarCapacityGauge - 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":"# MultiBarCapacityGauge\n\nMultiple capacity gauges with values and quotas\n\n\n\n## Configuration Options\n\n\n#### barHeight\nType: `number`  \nDefault: `30`  \nUnits: `px`\n\nHeight of the gauges\n\n#### chartName\nType: `string`  \nDefault: `\"template\"`  \n\nName of chart for Reporting.\n\n#### chartPrimarySeriesColors\nType: `colorArray`  \nDefault: `[[\"#D9EBFD\",\"#B7DAF5\",\"#90c4e4\",\"#73B0D7\",\"#4E8CBA\",\"#31689B\"],[\"#DDF4BA\",\"#BBE491\",\"#A0D771\",\"#80C25D\",\"#559E38\",\"#387B26\"],[\"#FDECAD\",\"#FCCF84\",\"#FBAD56\",\"#FB8D34\",\"#E45621\",\"#A43724\"],[\"#F3E4FE\",\"#DDC8EF\",\"#C5ACDE\",\"#B391CA\",\"#8F6DC0\",\"#7940A1\"],[\"#FCD7E6\",\"#FBB6DD\",\"#F395CD\",\"#EE76BF\",\"#CF51AC\",\"#A62A92\"],[\"#D8F4DE\",\"#ABE4CA\",\"#8DD5BE\",\"#68BEA8\",\"#46998A\",\"#227872\"],[\"#FDDDDD\",\"#FCBCB7\",\"#FD9A93\",\"#FD7F76\",\"#e45850\",\"#c92e25\"]]`  \n\nThe primary colors used to represent series data\n\n#### fontFamily\nType: `string`  \nDefault: `\"Open Sans\"`  \n\nFont family for the labels and number values\n\n#### gaugePadding\nType: `number`  \nDefault: `0`  \nUnits: `px`\n\nThe space between the gauges\n\n#### height\nType: `undefined`  \nDefault: `undefined`  \n\nundefined\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#### labelTextColor\nType: `color`  \nDefault: `\"#333333\"`  \n\nFont color for the labels\n\n#### labelTextSize\nType: `number`  \nDefault: `14`  \nUnits: `px`\n\nFont size for the labels\n\n#### notFillBarColor\nType: `color`  \nDefault: `\"#E5E5E5\"`  \n\nColor of the right bar\n\n#### quotaTextColor\nType: `color`  \nDefault: `\"#333333\"`  \n\nMaximum value for the gauge\n\n#### shouldValidate\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off data validation\n\n#### updateSizeableConfigs\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off the mimic of illustrator's scale functionality\n\n#### valueTextSize\nType: `number`  \nDefault: `14`  \nUnits: `px`\n\nFont size for the values\n\n#### valueTextSizePostfix\nType: `number`  \nDefault: `10`  \nUnits: `px`\n\nFont size for the percentage\n\n#### width\nType: `number`  \nDefault: `400`  \nUnits: `px`\n\nWidth of the widget\n\n## Data Definition\n\n\n#### current\nType: `number`\n\nDefault validate:  \n```js\nfunction (d) { return !isNaN(this.accessor(d)) && this.accessor(d) >= 0; }\n```\n\nDefault accessor:  \n```js\nfunction (line) { return Number(line[0]); }\n```\n\n#### label\nType: `string`\n\nDefault validate:  \n```js\nfunction (d) { return this.accessor(d) !== undefined && this.accessor(d) !== null; }\n```\n\nDefault accessor:  \n```js\nfunction (line) { return !line[2] ? undefined : String(line[2]); }\n```\n\n#### quota\nType: `number`\n\nDefault validate:  \n```js\nfunction (d) { return !isNaN(this.accessor(d)) && this.accessor(d) > 0; }\n```\n\nDefault accessor:  \n```js\nfunction (line) { return Number(line[1]); }\n```\n\n## Events\n\n\n#### Dispatch Events\n\n#### External Events\n\nexternal:mouseover  \nexternal:mouseout  \n\n## Example\n\n```js  \n//Setup some fake data\nvar data = [\n  // Current, Quota, Team\n  [180, 240, 'North'],\n  [170, 220, 'South'],\n  [190, 230, 'East'],\n  [120, 210, 'West'],\n];\n\n//Initialze the widget\nvar chart = d3.select('#vis')\n  .append('svg')\n  .attr('height', 500)\n  .attr('width', 500)\n  .append('g')\n  .attr('transform', 'translate(29,133)')\n  .chart('MultiBarCapacityGauge')\n  .c({\n    width: 400,\n    height: 400,\n  })\n\n//Render the chart with data\nchart.draw(data);\n\nsetTimeout(function () {\n  chart.trigger('external:mouseover', data[0][2]);\n}, 2000);\nsetTimeout(function () {\n  chart.trigger('external:mouseout');\n}, 3000);\nsetTimeout(function () {\n  chart.trigger('external:mouseover', data[1][2]);\n}, 3000);\nsetTimeout(function () {\n  chart.trigger('external:mouseout');\n}, 4000);\n\n```\n\n","readmeFilename":"README.md"}