{"_id":"@domoinc/horizontal-multi-series-bars","_rev":"39-342b38fd801721e88396ac7f0d99b5ff","name":"@domoinc/horizontal-multi-series-bars","dist-tags":{"latest":"4.0.3"},"versions":{"4.0.0":{"name":"@domoinc/horizontal-multi-series-bars","version":"4.0.0","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/horizontal-multi-series-bars@4.0.0","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"}],"dist":{"shasum":"fa93f67654eab6525e25405e2d42e7c19f46f436","tarball":"https://registry.npmjs.org/@domoinc/horizontal-multi-series-bars/-/horizontal-multi-series-bars-4.0.0.tgz","integrity":"sha512-SptXpLzImeEo2TFtd7J9v81WvNRcbJJ8+2VVc/yvyGpCZpEUvb8FY1nWEAP1tojqE4/wMxEBnK7fI8LeqRFzgw==","signatures":[{"sig":"MEYCIQCc+YiV5X7nmMXDMuIq5nzhdA9V3n3eEfHbakuuJszAbAIhANZ6uyo9nk9EChtBc6pCrxLaW6u7JHiillzq4H3Rz+2k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"fa93f67654eab6525e25405e2d42e7c19f46f436","gitHead":"60dff6d4f1e78d7594aa831aee6f3daf6a9c7abe","scripts":{},"_npmUser":{"name":"aharris88","email":"aharris88@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.12","description":"HorizontalMultiSeriesBars - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.14","lodash":"^4.2.1","d3.chart":"^0.3.0","@domoinc/da-theme":"^4.2.1","@domoinc/bar-gauge":"^3.0.1","@domoinc/da-theme2":"^2.1.2","@domoinc/utilities":"^4.2.3","@domoinc/base-widget":"^1.4.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.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-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/horizontal-multi-series-bars-4.0.0.tgz_1454707569714_0.5126142976805568","host":"packages-6-west.internal.npmjs.com"}},"4.0.1":{"name":"@domoinc/horizontal-multi-series-bars","version":"4.0.1","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/horizontal-multi-series-bars@4.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":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"}],"dist":{"shasum":"4c34e3a60d386a16a776f33c7fdce0b89e34b051","tarball":"https://registry.npmjs.org/@domoinc/horizontal-multi-series-bars/-/horizontal-multi-series-bars-4.0.1.tgz","integrity":"sha512-hUZkfnFyS0SmVbekcvR0q7OXr7WHt4XR96d1625xIhnBPUU5vbAfN74cnpKyYX5bbCSS2EYlinVcQYkQ8rsSFw==","signatures":[{"sig":"MEYCIQDHypRqh0RSBUZJ7YHpzn6Maog50CwpzE8t9d+qG0JkjwIhANnayTj7TT2tMcdBosl7ut20XkuRjPt3f+9+kAwNtRIa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"4c34e3a60d386a16a776f33c7fdce0b89e34b051","gitHead":"309912276a9e44c647da40bf3a244feb3d4e6dca","scripts":{},"_npmUser":{"name":"excrispy","email":"excrispy@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.7.2","description":"HorizontalMultiSeriesBars - Domo Widget","directories":{},"_nodeVersion":"5.2.0","dependencies":{"d3":"^3.5.15","lodash":"^4.2.1","d3.chart":"^0.3.0","grunt-release":"^0.13.0","@domoinc/bar-gauge":"^3.0.3","@domoinc/da-theme2":"^2.1.2","@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-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/horizontal-multi-series-bars-4.0.1.tgz_1457386591779_0.900529612088576","host":"packages-13-west.internal.npmjs.com"}},"4.0.2":{"name":"@domoinc/horizontal-multi-series-bars","version":"4.0.2","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/horizontal-multi-series-bars@4.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":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"}],"dist":{"shasum":"436e22a6424dc572d7ae6e8f98eec79a90a50620","tarball":"https://registry.npmjs.org/@domoinc/horizontal-multi-series-bars/-/horizontal-multi-series-bars-4.0.2.tgz","integrity":"sha512-T6wRwC0bbQvgaxQOzbhDVdPhZaKRl6B8MYzrvZEqIJuwlYH6Rzj84F1LCP93zIugTqX3YbgKgLmHooWGu37sFA==","signatures":[{"sig":"MEUCIQCIzdHjLgBJE3Ne03PTBafd86SokmA1Hr/RpYKH8AR0OwIgLGutpuBF9yN/mlZFhxEObWYuqQfmONia6d0/EKqr4Io=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"436e22a6424dc572d7ae6e8f98eec79a90a50620","gitHead":"759ca6ecbd3b9a799234fbcf5ec7d7fa312e857d","scripts":{},"_npmUser":{"name":"whitney.rosenberg","email":"whitney.rosenberg@domo.com"},"repository":{"type":"git"},"_npmVersion":"3.8.6","description":"HorizontalMultiSeriesBars - Domo Widget","directories":{},"_nodeVersion":"5.12.0","dependencies":{"d3":"^3.5.15","lodash":"^4.2.1","d3.chart":"^0.3.0","grunt-release":"^0.13.0","@domoinc/bar-gauge":"^3.0.3","@domoinc/da-theme2":"^2.1.2","@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-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/horizontal-multi-series-bars-4.0.2.tgz_1488839177171_0.19394698995165527","host":"packages-18-east.internal.npmjs.com"}},"4.0.3":{"name":"@domoinc/horizontal-multi-series-bars","version":"4.0.3","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/horizontal-multi-series-bars@4.0.3","maintainers":[{"name":"jpumford","email":"jpumford@gmail.com"},{"name":"whitney.rosenberg","email":"whitney.rosenberg@domo.com"},{"name":"freakaziod210","email":"freakaziod210@gmail.com"},{"name":"bmbarker-domo","email":"ben.barker@domo.com"},{"name":"bkingery","email":"brian.kingery@gmail.com"},{"name":"excrispy","email":"excrispy@gmail.com"},{"name":"clm","email":"chris.clm09@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"},{"name":"k4paul","email":"kellie.morgan@domo.com"},{"name":"andrewjensen","email":"andrewjensen90@gmail.com"},{"name":"jgalb","email":"jakegpv@gmail.com"},{"name":"dallasnorton","email":"dallaslandonnorton@gmail.com"},{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},{"name":"aharris88","email":"aharris88@gmail.com"},{"name":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"jmstewart","email":"james.stewart42@gmail.com"}],"dist":{"shasum":"16122e08498b436da3494b3e961545735d904359","tarball":"https://registry.npmjs.org/@domoinc/horizontal-multi-series-bars/-/horizontal-multi-series-bars-4.0.3.tgz","integrity":"sha512-sOfi0B7BUey9v64udtB0swgfFAko5BBZ7WrWlewoBC6tbMXpD+3db8Y3NzxwQzn6ceLwhkcohE8cyHCxdgS6Ug==","signatures":[{"sig":"MEYCIQDJkoJY+SkoCM3qCcOIhIBUL3Ap4Zb0Q6Arn0XsP0ur+QIhAOXlZvyWHrL+Q4zk7g8eFgDdzAjrtJi8VB4ihoDLbaE0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxIKCRA9TVsSAnZWagAA4dUP/jniWeNka6DRcRoM50Yx\nd59TEHd5gl6nf60uSS8dusnn8SS7YQHcI9Tvd41vzaoC94B0s6EMRMbNOSov\nT32VtrbyKXFV4JgoCMjtXcBCZRf9uJzYV1DwBiBZatMwg+xfeVeRTSmxCVDv\n/9vKa2AQaomCBANXbYly+miyETJQoB2ZS4h9DsIceReW/DLXU7nLTlW0UMJS\nmXaV2pfALi1PO/nboBm2jbA2XDuKya9sgkj4wXY/sEOSH9UJHyPjyWEHMJ/B\n9TggTvTM9lmE7WUp7A9nRe3g5MoT4hELhyy9onjyZbMt5R4IPQjPHSYWVAqS\noV+qFwnvFLMH6EEu/QKj7rw+mTzCRMPZwB15Y1V6OEmQo3gNhH+FSJLOWMuh\n10rdWWBtnbEbq14mC77xRVO8qo1B1pyZD+cWftstWCCHyerit6VfgcS3QyRx\n2eVeJCavz4LygRmjowovB5mtd8RoVcn+xF5/zJxypj2RfCvvu7nsqa/QmoCX\nM/TS42UA7pFnE9m6XMJ/AFaLnV59FoSwY8vEh1lyqCvKHLygevSaWVmvQW0I\nMuw/yzE2t1APQojweY/TXQ5XSlRICPBEIANLUgMvZCx8na/1LEhGT91OJjRs\njB5rXnDjCX8Z9RvcYjrRauZNC7BfNthcCZ2OMANP+Hildcjt9TLsvSe54vtA\nXUWp\r\n=Y+bP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"16122e08498b436da3494b3e961545735d904359","gitHead":"beb2f810ec674ee575fde29989ff18dc8a331e7a","scripts":{},"_npmUser":{"name":"whitney.rosenberg","email":"whitney.rosenberg@domo.com"},"repository":{"type":"git"},"_npmVersion":"3.8.6","description":"HorizontalMultiSeriesBars - Domo Widget","directories":{},"_nodeVersion":"5.12.0","dependencies":{"d3":"^3.5.15","lodash":"^4.2.1","d3.chart":"^0.3.0","grunt-release":"^0.13.0","@domoinc/bar-gauge":"^3.0.3","@domoinc/da-theme2":"^2.1.2","@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-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/horizontal-multi-series-bars-4.0.3.tgz_1494443247292_0.11865229089744389","host":"packages-18-east.internal.npmjs.com"}}},"time":{"created":"2016-02-05T21:26:10.423Z","modified":"2026-02-27T17:24:19.757Z","4.0.0":"2016-02-05T21:26:10.423Z","4.0.1":"2016-03-07T21:36:33.976Z","4.0.2":"2017-03-06T22:26:19.491Z","4.0.3":"2017-05-10T19:07:32.292Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["domo","app"],"repository":{"type":"git"},"description":"HorizontalMultiSeriesBars - 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":"# HorizontalMultiSeriesBars\n\nMultiple horizontal bars with labels and values\n\n\n\n## Configuration Options\n\n\n#### barStartPos\nType: `number`  \nDefault: `75`  \nUnits: `px`\n\nSet the bar distance from the start of the labels\n\n#### barTextPadding\nType: `number`  \nDefault: `5`  \nUnits: `px`\n\nThe space between the gauge and label\n\n#### chartName\nType: `string`  \nDefault: `\"HorizontalMultiSeriesBars\"`  \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#### chartSecondarySeriesColors\nType: `colorArray`  \nDefault: `[\"#4E8CBA\",\"#D9EBFD\",\"#31689B\",\"#D9EBFD\",\"#D9EBFD\",\"#559E38\",\"#DDF4BA\",\"#387B26\",\"#DDF4BA\",\"#DDF4BA\",\"#E45621\",\"#FDECAD\",\"#A43724\",\"#FDECAD\",\"#FDECAD\",\"#FDECAD\"]`  \n\nThe secondary colors used to represent series data\n\n#### gaugeGap\nType: `number`  \nDefault: `10`  \nUnits: `px`\n\nThe space between the gauges\n\n#### gaugeHeight\nType: `number`  \nDefault: `30`  \nUnits: `px`\n\nHeight of each gauge\n\n#### height\nType: `number`  \nDefault: `100`  \nUnits: `px`\n\nHeight of the widget\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#### labelBeforeBar\nType: `select`  \nDefault: `{\"name\":\"Before Gauge\",\"value\":true}`  \n\nSet the label position before or after the gauge\n\n#### labelTextColor\nType: `color`  \nDefault: `\"#8A8D8E\"`  \n\nFont color for the labels\n\n#### labelTextSize\nType: `number`  \nDefault: `14`  \nUnits: `px`\n\nFont size for the labels\n\n#### leftToRight\nType: `select`  \nDefault: `{\"name\":\"Left to Right\",\"value\":true}`  \n\nSet the animation direction for the gauges\n\n#### prefix\nType: `string`  \nDefault: `\"$\"`  \n\nText added before the number value\n\n#### shouldValidate\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off data validation\n\n#### suffix\nType: `string`  \nDefault: `\"\"`  \n\nText added after the number value\n\n#### textFontFamily\nType: `string`  \nDefault: `\"Open Sans\"`  \n\n\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#### width\nType: `number`  \nDefault: `700`  \nUnits: `px`\n\nWidth of the widget\n\n## Data Definition\n\n\n#### Label\nType: `string`\n\nDefault validate:  \n```js\nfunction (d) { return this.accessor(d) !== undefined; }\n```\n\nDefault accessor:  \n```js\nfunction (line) { return line[0] === undefined ? undefined : String(line[0]); }\n```\n\n#### Value\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\ndispatch:mouseover  \ndispatch:mouseout  \n#### External Events\n\nexternal:mouseover  \nexternal:mouseout  \n\n## Example\n\n```js  \n//Setup some fake data\nvar data = [\n  ['North', 140],\n  ['South', 200],\n  ['East', 250],\n  ['West', 170]\n];\n\nvar chart = d3.select('#vis')\n  .append('svg')\n  .attr('height', 500)\n  .attr('width', 500)\n  .append('g')\n  .attr('transform', 'translate(50,172.5)')\n  .chart('HorizontalMultiSeriesBars')\n  .c({\n    width: 400,\n    height: 25,\n  })\n\n//Render the chart with data\n// chart._notifier.showMessage(false);\nchart.draw(data);\n\nsetTimeout(function () {\n  chart.trigger('external:mouseover', {data: data[0]});\n}, 2000);\nsetTimeout(function () {\n  chart.trigger('external:mouseout');\n}, 3000);\nsetTimeout(function () {\n  chart.trigger('external:mouseover', {data: data[1]});\n}, 3000);\nsetTimeout(function () {\n  chart.trigger('external:mouseout');\n}, 4000);\n\n```\n\n","readmeFilename":"README.md"}