{"_id":"@domoinc/eight-ball","_rev":"40-2c6e6ddeb977fec2ba32e7153bfc5b95","name":"@domoinc/eight-ball","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@domoinc/eight-ball","version":"1.0.0","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/eight-ball@1.0.0","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"}],"dist":{"shasum":"ce6f29b4ebaa50408b731878d21fca3b71e236d1","tarball":"https://registry.npmjs.org/@domoinc/eight-ball/-/eight-ball-1.0.0.tgz","integrity":"sha512-rwbXJhgw9Jq4WoKjdJv93CE1m5nfRcVHqdxW2r7bnA2RHtsL3KAksJnFu7KDFq70w2iMdO0m0325VMIfsKa0Tw==","signatures":[{"sig":"MEQCIGAxRFuyW5Y5l1A+k0caNq20RdsucR+R/X4/ijoCkvktAiBhpPY/cQfaxw/mIBHRaxtjNW0Txj+EnVg40BwTHuI6lQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"ce6f29b4ebaa50408b731878d21fca3b71e236d1","gitHead":"e7e5e39d851325b85dd0227fff1849146018bff1","scripts":{},"_npmUser":{"name":"aharris88","email":"aharris88@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.12","description":"EightBall - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.14","lodash":"^4.2.1","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.1.2","@domoinc/utilities":"^4.2.2","@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/eight-ball-1.0.0.tgz_1454601764088_0.19730420922860503","host":"packages-5-east.internal.npmjs.com"}},"1.0.1":{"name":"@domoinc/eight-ball","version":"1.0.1","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/eight-ball@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":"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":"b4842e19799fab6f4b7ade35ca556a4dbbda421e","tarball":"https://registry.npmjs.org/@domoinc/eight-ball/-/eight-ball-1.0.1.tgz","integrity":"sha512-MIVnZVUXfa8MKZIJQwvAtT6YR3ilqTBKk8LFZ/dNYjQGSvSt8iuslU568lf5io4BHgptLaXUk75myRJtWs5tDw==","signatures":[{"sig":"MEQCIE57Ulcik+QUPfNF56aYdI9SzMOnPKjhv1AmDNZDzjUcAiBg+4Y9A7YuK+3ls/kmICCWmNQ7CDx6MwyxSzDqB9Uw4w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"b4842e19799fab6f4b7ade35ca556a4dbbda421e","gitHead":"029e52295bc9087a9055ad67c12e6a32b2c4491f","scripts":{},"_npmUser":{"name":"jmstewart","email":"james.stewart42@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.6.0","description":"EightBall - Domo Widget","directories":{},"_nodeVersion":"5.6.0","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.1.2","@domoinc/utilities":"^4.2.2","@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.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/eight-ball-1.0.1.tgz_1455310981596_0.044910353841260076","host":"packages-5-east.internal.npmjs.com"}},"1.0.2":{"name":"@domoinc/eight-ball","version":"1.0.2","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/eight-ball@1.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":"548ea57297a0333836b6c737c089c9d31fbd3c78","tarball":"https://registry.npmjs.org/@domoinc/eight-ball/-/eight-ball-1.0.2.tgz","integrity":"sha512-ceY3Fe2uqpUqvKt/55Y/QYscr7pZRxrMIqnTtQ+IO8gEIhW/sorsnprFsFyzg0Kb7jtuui1YkMpQo8GTML10+g==","signatures":[{"sig":"MEUCIQCQrAIVsmlCC9ZHW2RswySFksMQi3qA/kCRt4BGqKkG6AIgBw7qd0VHTEoVlHJ8izFc62iVOr3+VblDIO2h/mkykgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"548ea57297a0333836b6c737c089c9d31fbd3c78","gitHead":"8fe977617ae42a98ad43aacff6bcc1bf2aa4e4e5","scripts":{},"_npmUser":{"name":"excrispy","email":"excrispy@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.7.2","description":"EightBall - Domo Widget","directories":{},"_nodeVersion":"5.2.0","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.1.2","@domoinc/utilities":"^4.2.2","@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.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/eight-ball-1.0.2.tgz_1455312957337_0.4116330277174711","host":"packages-5-east.internal.npmjs.com"}},"1.0.3":{"name":"@domoinc/eight-ball","version":"1.0.3","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/eight-ball@1.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":"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":"c7d41234986bbea74385f3eaf899b7e838ddb849","tarball":"https://registry.npmjs.org/@domoinc/eight-ball/-/eight-ball-1.0.3.tgz","integrity":"sha512-W5VCnoY/Nc76Lb93NC1+hzq9Ot+OP8uH1G60R62+Od2IBTtDCQnhmdwlG7LPtbllbvpLQVz0QSAcLnQCGXPvXQ==","signatures":[{"sig":"MEUCIQDZfP9TlMW/1TkYEOhQtrfdoar3Wroo7WZLKO/zBKvB9QIgcLeJEAB+SIGHo+Oy2N1Ngng4+dBvhKS0B018etpZYb4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"c7d41234986bbea74385f3eaf899b7e838ddb849","gitHead":"c5cb53861e477440007b95ad5ef48d5d31cfbb5b","scripts":{},"_npmUser":{"name":"excrispy","email":"excrispy@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.7.2","description":"EightBall - Domo Widget","directories":{},"_nodeVersion":"5.2.0","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.1.2","@domoinc/utilities":"^4.2.2","@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.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/eight-ball-1.0.3.tgz_1457389512290_0.3639024468138814","host":"packages-12-west.internal.npmjs.com"}},"1.0.4":{"name":"@domoinc/eight-ball","version":"1.0.4","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/eight-ball@1.0.4","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":"501ae2f9484e22965c25ea954d16817e17cc5c00","tarball":"https://registry.npmjs.org/@domoinc/eight-ball/-/eight-ball-1.0.4.tgz","integrity":"sha512-uA83mDFaNY25D2Tsx27fjYZQpeVqvpBX0vytRIKOL5lcYoRfgbIe6zzWK8JOhFdlKynBqgLm2IR4aMnGW3ib/Q==","signatures":[{"sig":"MEUCIGt4Ws6+FUuuyI4Jg/lISDpSgI1DtO8eNha36LLgtt4kAiEA7s+HD4uxIqAa+GUZobSUvsz9Nu6YC5+xkcDKZT9bSec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxHrCRA9TVsSAnZWagAAChAP+QFTE54DmLoglyIS4C/t\nl8cO0Cdn+PhmW8vKvAyTzcvuAsTMrpaFrx/K6NqaX7K5oAxWcxMl0V4DMlq8\nxyMYNLrsh8r3hep4VhNes+hAz8InqNQa7+APSVWN3+d+h7xlPfenZWtI4Nsi\nFzardmVOaX5ViG4zeLzbUhvxoNdI5r4cq4O6XHR2Xnq4CsV+HNbF3y0BBUKU\nnHf86uq67ToTw4MifiL0g1Jv5WCSj37V/9gVA5g6GIQplcwysEup6waCCqQO\nux6lE8BKnpqadawJmon/iPSMLCdz9QxXWjrIvfJ8EZTjwB8zJG8igvj/zkc2\nFHSep6RYyDagFItC0GiMclf9ZPAQjVxYooV41C4ALDciPkrXAvxR23fiJupY\nQX9bE9fkbuNAQ+ma0619QD2BS5GmIPicgz1hZ3A7aCbqRwdHnzjppdYCQCxP\nVXIGatNIYyaaI6HGcC6XRJUS4gYq/SDvpQ1LBJZgst0epAmLHt/da0xpH3Wy\na9df0lW+CuFGUEpIUBfStvIIymLevjFGr5yijHSIbvKumOiHuYkYRAyOtrOc\n6Tgc3ojMlKbL9GZr1lFsh3tOj1spaBtZqWfyRR6LVjf6sHT/8T2hKaiu3zuq\nlDc5lVirIWJ1ZR+FIhe05kd0vxFGD6UytILst5p6sggNst6jYgy/G7bA/Ek8\nvcKt\r\n=mrZa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"501ae2f9484e22965c25ea954d16817e17cc5c00","gitHead":"baa09c39980ba8a57b8796b71c3c1109b6cd3491","scripts":{},"_npmUser":{"name":"jaxry","email":"cabot696@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.12","description":"EightBall - Domo Widget","directories":{},"_nodeVersion":"5.1.0","dependencies":{"d3":"^3.5.14","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.1.2","@domoinc/utilities":"^4.2.2","@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.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/eight-ball-1.0.4.tgz_1460500257336_0.5024934615939856","host":"packages-16-east.internal.npmjs.com"}}},"time":{"created":"2016-02-04T16:02:45.615Z","modified":"2026-02-27T17:28:13.102Z","1.0.0":"2016-02-04T16:02:45.615Z","1.0.1":"2016-02-12T21:03:05.279Z","1.0.2":"2016-02-12T21:36:02.100Z","1.0.3":"2016-03-07T22:25:16.922Z","1.0.4":"2016-04-12T22:30:58.907Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["domo","app"],"repository":{"type":"git"},"description":"EightBall - 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":"# EightBall\n\nShows a random message from your data\n\n\n\n## Configuration Options\n\n\n#### chartName\nType: `string`  \nDefault: `\"EightBall\"`  \n\nName of chart for Reporting.\n\n#### fontColor\nType: `color`  \nDefault: `\"#8A8D8F\"`  \n\n\n\n#### fontFamily\nType: `string`  \nDefault: `\"Open Sans\"`  \n\nFont type for the body text\n\n#### fontSize\nType: `number`  \nDefault: `40`  \n\n\n\n#### fontWeight\nType: `select`  \nDefault: `{\"name\":\"400 - Regular\",\"value\":400}`  \n\nGreater values correspond to increased font boldness (some fonts do not support every value)\n\n#### height\nType: `number`  \nDefault: `400`  \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#### shouldValidate\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off data validation\n\n#### strokeColor\nType: `color`  \nDefault: `\"#E5E5E5\"`  \n\nColor for the border of the circle\n\n#### strokeWidth\nType: `number`  \nDefault: `2`  \n\n\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: `400`  \nUnits: `px`\n\nWidth of the widget\n\n## Data Definition\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  ['Moe', 'Rogerson'],\n  ['Lyle', 'Simpson'],\n  ['Tucker', 'House'],\n  ['Lizette', 'Styles'],\n  ['Tiffani', 'Tuft'],\n  ['Sophy', 'Brand'],\n  ['Brayden', 'Sargent'],\n  ['Rowan', 'Darby']\n];\n\nvar aHeight = 400;\nvar aWidth = 400;\n\nvar svg = d3.select('#vis').append('svg')\n  .attr({\n    'width': 1000,\n    'height': 1000\n  });\n\nvar rad = _.min([aHeight,aWidth]) / 2;\n\n//Initialze the widget\nvar chart1 = svg.append('g')\n  .chart('EightBall')\n  .c({\n    'width': 400,\n    'height': 400\n  });\n\n//Render the chart with data\nchart1.draw(data);\n\n// var chart2 = svg.append('g')\n//   .attr('transform', 'translate(900, 100)')\n//   .chart('EightBall')\n// chart2.draw(data);\n\n// setTimeout(function(){\n//   chart1.draw([\n//     ['bob'],\n//     ['fred'],\n//     ['george'],\n//     ['amy']\n//   ]);\n// }, 2000);\n\n// setTimeout(function(){\n//   chart1.draw([\n//     ['bob is cool', 'man'],\n//     ['fred man'],\n//     ['george starts with g'],\n//     ['amy is a girl']\n//   ]);\n// }, 3000);\n\n// setTimeout(function(){\n//   chart2.draw([\n//     ['THE ONE AND ONLY ANSWER']\n//   ]);\n// }, 4000);\n\n\n```\n\n","readmeFilename":"README.md"}