{"_id":"@domoinc/multi-metric-gauge","_rev":"37-0b24cbe51b4b62fc20d73ade6da30b00","name":"@domoinc/multi-metric-gauge","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@domoinc/multi-metric-gauge","version":"1.0.0","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/multi-metric-gauge@1.0.0","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"}],"dist":{"shasum":"f6c83378253a9aa2c834fa2701b0ed22206e8209","tarball":"https://registry.npmjs.org/@domoinc/multi-metric-gauge/-/multi-metric-gauge-1.0.0.tgz","integrity":"sha512-fuBZBW/96YqLRrcMYpdS88yBmV94g/1KmonhPBj4YE6QsHgrmTM7bedLfk8VhiCI3pEbAmAmQhvy8e/ltO8/Ag==","signatures":[{"sig":"MEUCIQCVmO9M4iqwKGO36hc/ad8H0iwOh9GSA3Nl419pFzs0pQIgRM3ya10RKQHWklImXT5QIPrxgY7d0oeIhYZnCTWDgXU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"f6c83378253a9aa2c834fa2701b0ed22206e8209","gitHead":"b1096a75b778d9170dec562914c0cd2988526656","scripts":{},"_npmUser":{"name":"aharris88","email":"aharris88@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.12","description":"MultiMetricGauge - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.1.2","@domoinc/utilities":"^4.2.1","@domoinc/base-widget":"^1.3.0","@domoinc/arrow-single-value-indicator":"^5.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.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/multi-metric-gauge-1.0.0.tgz_1454518397166_0.23894769325852394","host":"packages-9-west.internal.npmjs.com"}},"1.0.1":{"name":"@domoinc/multi-metric-gauge","version":"1.0.1","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/multi-metric-gauge@1.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":"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":"fdd975df4cfe0ac7478df5b554d624fab78fbacf","tarball":"https://registry.npmjs.org/@domoinc/multi-metric-gauge/-/multi-metric-gauge-1.0.1.tgz","integrity":"sha512-kUzNy/pnB9QmBFX/js3hoHghccWnVMX7jBisbiJLVvQL+2hz4G0NXSUM+zwGkLpZpsKtosOV3FqCt0LxPu6Sdg==","signatures":[{"sig":"MEUCIQCibrgXQ+HKh3aFNo/hIWFiZVmAeLyUOhy6oRweZ34FvwIgLaoJ7yu/JpwTv2SAXfjaKfZjgCfudSLlNae7EsKu/S0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxI8CRA9TVsSAnZWagAAGKIP/2I1Kd/UCcQu0GAEEvSN\nPj3YW6inBrgapzjLznPQ67iAOAC8ts/xbQXkBkj7KOPKiZMuQ9uR0YNR/kXz\nmwRdEwvQdS7v8d4bjfnOQyMZuiWkgOZg/rJ2m2ekDghEvk6vRNJgP5WD1jL2\ng/sKG94ayTAZEkuQ356YM/pV7qpkcbifFE0uoiAXKB178zB9aEmFTFUxoX/z\nv/2V1E4kdPFiexnCBCxXa+sL5FJAEmKZiFqdfo2KPFXSKDi5JPegbYBL7TLC\ntvikaOg0dZDjDWJz3jZvpmCx0kP/VMy73Av4EXopvLikWqwGZgckyo1MVuRE\n9ERJfXNOGZwmyeVM1oRtnbne2X+QNbxbT+rQwnZo0NYuGBAVt0gs2NKlHlLU\nUQx9s0fSK5+vNga+TvVjxIR0S0+D6lPATJFg/jUFLcSR5wSIDsL87alK6AtO\nbN2GLafi4LmbxGPffrLaPBsDsfqpDp+6VKtMR7uRBOgQGasDMawGSU155X3N\ndu/5MRwvp4phOt90uZpzjne7fZAuQ4S95LtSEdUTLIvrR3La9byntjZSndD1\n1zPvJp4oTRpkd4RPNsx0Mn4vy8RDrEQEzFk/YRmPizACvo7S7RFa9RsLWjy0\neLIsGJZpADTq9BlbAX1EL97kLX73TxsT9KBqrLu9/dqopYZSCcijpQgX5AbJ\nJTph\r\n=0K6F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"fdd975df4cfe0ac7478df5b554d624fab78fbacf","gitHead":"70177d73771c37b98bb96f5a0de7d450b79d7306","scripts":{},"_npmUser":{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.8","description":"MultiMetricGauge - Domo Widget","directories":{},"_nodeVersion":"4.2.1","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.4.1","@domoinc/arrow-single-value-indicator":"^5.0.5"},"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-metric-gauge-1.0.1.tgz_1457461281847_0.2039045630954206","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-02-03T16:53:20.507Z","modified":"2026-02-27T17:28:31.804Z","1.0.0":"2016-02-03T16:53:20.507Z","1.0.1":"2016-03-08T18:21:24.945Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["domo","app"],"repository":{"type":"git"},"description":"MultiMetricGauge - 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":"# MultiMetricGauge\n\nMultiple gauges with circles and labels\n\n<img src=media/widget.png height=500 width=500> \n\n## Configuration Options\n\n\n#### bottomLabelTextColor\nType: `color`  \nDefault: `#333333`  \n\nColor of the bottom label\n\n#### chartName\nType: `string`  \nDefault: `MultiMetricGauge`  \n\nName of chart for Reporting.\n\n#### circleLabelTextSize\nType: `number`  \nDefault: `12`  \nUnits: `px`\n\nText size of the labels next to the circles on each gauge\n\n#### circleRadius\nType: `number`  \nDefault: `4`  \nUnits: `px`\n\nRadii of the circles on the arcs\n\n#### gaugeColorOne\nType: `color`  \nDefault: `#F68C35`  \n\nColor of the first gauge\n\n#### gaugeColorThree\nType: `color`  \nDefault: `#888888`  \n\nColor of the third gauge\n\n#### gaugeColorTwo\nType: `color`  \nDefault: `#888888`  \n\nColor of the second gauge\n\n#### gaugeNotFilledColor\nType: `color`  \nDefault: `#888888`  \n\nColor of the portion of the gauge that is not filled\n\n#### height\nType: `number`  \nDefault: `250`  \nUnits: `px`\n\n\n\n#### labelText\nType: `string`  \nDefault: `METRIC`  \n\nUser input text\n\n#### labelTextSize\nType: `number`  \nDefault: `18`  \nUnits: `px`\n\nundefined\n\n#### outerTickCircleColor\nType: `color`  \nDefault: `#d7d9da`  \n\n\n\n#### rangeMax\nType: `number`  \nDefault: `100`  \n\nMaximum value for the gauge\n\n#### rangeMin\nType: `number`  \nDefault: `0`  \n\nMinimum value for the gauge\n\n#### shouldValidate\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off data validation\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: `100`  \nUnits: `px`\n\nSize of the value text\n\n#### width\nType: `number`  \nDefault: `250`  \nUnits: `px`\n\n\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\n#### External Events\n\n\n## Example\n\n```js  \n/*----------------------------------------------------------------------------------\n Create Widget -> index.html\n\n © 2011 - 2015 DOMO, INC.\n ----------------------------------------------------------------------------------*/\n\n//Setup some fake data\nvar data = [\n  ['North', 75],\n  ['South', 65],\n  ['East', 55],\n];\n\n//Initialze the widget\nvar chart = d3.select(\"#vis\")\n  .append(\"svg\")\n  .attr({\n    height: '1000px',\n    width: '1000px'\n  })\n  .append(\"g\")\n  .attr('transform', 'translate(50,50)')\n  .chart(\"MultiMetricGauge\")\n  .c({\n    width: 400,\n    height: 400,\n  });\n\n//Render the chart with data\nchart._notifier.showMessage(true);\nchart.draw(data);\n\n```\n\n","readmeFilename":"README.md"}