{"_id":"@domoinc/zoom-funnel","_rev":"35-172345cc71988f8a0c53967eaa84e9fe","name":"@domoinc/zoom-funnel","dist-tags":{"latest":"4.0.1"},"versions":{"4.0.0":{"name":"@domoinc/zoom-funnel","version":"4.0.0","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/zoom-funnel@4.0.0","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"}],"dist":{"shasum":"83a4fcbe969fe36a191254a04bf5b3736f8166af","tarball":"https://registry.npmjs.org/@domoinc/zoom-funnel/-/zoom-funnel-4.0.0.tgz","integrity":"sha512-KnHeFEyTxA+hQROPOxjMPZWuCxUrWahWOzeF49X6z7Hc2fKeGJhFlawck+3reft14eNux0yNiTdhSCKwV67cCw==","signatures":[{"sig":"MEYCIQDGlO98EyhTde5Qiy1+hUvIdN8AFsTrW7Kh1AWSTvxuJgIhAIR4/2XhXlpXfCRx63E2aoKdf43bRLH/3eBnOGwVlMn+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"83a4fcbe969fe36a191254a04bf5b3736f8166af","gitHead":"bc5f0375a139299f5370ae82d8f515dac23ab219","scripts":{},"_npmUser":{"name":"aharris88","email":"aharris88@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.12","description":"ZoomFunnel - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.16","d3.chart":"^0.3.0","@domoinc/zoom":"^4.0.0","@domoinc/funnel":"^5.0.0","@domoinc/da-theme":"^4.2.1","@domoinc/da-theme2":"^2.3.1","@domoinc/base-widget":"^1.5.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/zoom-funnel-4.0.0.tgz_1455810974015_0.8855276303365827","host":"packages-5-east.internal.npmjs.com"}},"4.0.1":{"name":"@domoinc/zoom-funnel","version":"4.0.1","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/zoom-funnel@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":"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":"663de27adbb7934a16275db527eacd6c17baa6e1","tarball":"https://registry.npmjs.org/@domoinc/zoom-funnel/-/zoom-funnel-4.0.1.tgz","integrity":"sha512-wClVJdO7IutJm5tngtQHz7dFgJ7dB+XENtKwVLCAZeGWjmuhi2rMAMxT8OrFzYGoQM5NpjSdvwFxxs3opL9xQw==","signatures":[{"sig":"MEQCIDpFFWYIAvMVUh+5xSyXv5LA7e993KgAV30T1tLXCZ9DAiAHKjZeiDNKAuINKcb3bb96CWnl3sv9DBkRD8HGLgSwDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2EMpCRA9TVsSAnZWagAAfwgP/0blAh3ey++amsOybp3s\nymRxangvjGLPqq78+IBylwCSRj3eIEFND8JecgGNwV0ISjKtn5iRXmDwWaHn\nad7eN76IN7UQg1ghF/pSSfQGKNdPxXjfEPbndFEX1cNWWmk25jgLXK7gafA3\nfmoJKJROXDQPS3ZSXrfU2yLbNvqDKtHW+COXtHtIa/zGPdZjMgXcqaF39/sY\nmHuEfrkV6P54/lzRnmvGAIvmzk1iCsKmprmz2d6FSxSoVXBucdLy3g9RUrxA\n7NSRNAsN8FkJ+v7L7KEy0+4jWqsAS19OOlb28TgnCp2ciPjJQlEFtiCGnMKg\n11PftLBIacyKu+xVQgrW6uFBOg4jIBsOrwGSb30UOft05V0dkm5slXnIYlEv\nysW31Eu+n9vgF/KG0CSaZLTKW1ozKJx/U4vXB1jguSQJqfwCKIrd7OMewMPu\np3Adv3GkD4QAwpE6KZRm6Fd1iYDMAFj70MQaQRwnrj3yr073CQr1ijIdKumX\nhjjGOpr1JExFbIeV37zOB3OWPFL1HwDpWFGSFoA7vR9JgA1gmugC6HKE95hD\nri+Fvz/tvYb6/NalMQ/q1/knZW+t7DMfg8i+uCZiV4e7wGrWuKvuXSuPQIil\nV5ovSEYycgVK6Z31+RQsf+9QMFnETTUSWaVePBbIgC+PuDzhjYpKO+INj7Xw\nl3qj\r\n=70zQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"663de27adbb7934a16275db527eacd6c17baa6e1","gitHead":"601a4df964753ad77ae65c46947bb63021e540f6","scripts":{},"_npmUser":{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.3.8","description":"ZoomFunnel - Domo Widget","directories":{},"_nodeVersion":"4.2.1","dependencies":{"d3":"^3.5.16","d3.chart":"^0.3.0","@domoinc/zoom":"^4.0.0","@domoinc/funnel":"^5.0.0","@domoinc/da-theme":"^4.2.1","@domoinc/da-theme2":"^2.3.1","@domoinc/base-widget":"^1.5.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/zoom-funnel-4.0.1.tgz_1457478259397_0.19822116289287806","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-02-18T15:56:16.589Z","modified":"2026-02-27T17:29:08.461Z","4.0.0":"2016-02-18T15:56:16.589Z","4.0.1":"2016-03-08T23:04:24.485Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["domo","app"],"repository":{"type":"git"},"description":"ZoomFunnel - 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":"# ZoomFunnel\n\nFunnel widget with a zoom slider\n\n\n\n## Configuration Options\n\n\n#### animate\nType: `boolean`  \nDefault: `true`  \n\nBoolean if chart should animate\n\n#### barFillColor\nType: `color`  \nDefault: `\"#73B0D7\"`  \n\nFill color of the bars\n\n#### barPadding\nType: `number`  \nDefault: `5`  \nUnits: `px`\n\nThe space between the bars\n\n#### barWashoutColor\nType: `color`  \nDefault: `\"#E4E5E5\"`  \n\nColor used to indicate bars that are not being highlighted\n\n#### fontFamily\nType: `string`  \nDefault: `\"Open Sans\"`  \n\nFont family of the labels and values\n\n#### funnelHeight\nType: `number`  \nDefault: `372`  \nUnits: `px`\n\nundefined\n\n#### funnelWidth\nType: `number`  \nDefault: `400`  \nUnits: `px`\n\nFunnel width at max zoom\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#### knobColor\nType: `color`  \nDefault: `\"#555555\"`  \n\nFill color for the circle on the zoom bar\n\n#### knobRadius\nType: `number`  \nDefault: `8`  \nUnits: `px`\n\nRadius of the circle on the zoom bar\n\n#### maxZoom\nType: `number`  \nDefault: `100`  \nUnits: `units`\n\nThe arbitrary maximum amount you can zoom\n\n#### minZoom\nType: `number`  \nDefault: `0`  \nUnits: `units`\n\nThe arbitrary minimum amount you can zoom\n\n#### prefix\nType: `string`  \nDefault: `\"\"`  \n\nText added before the number values\n\n#### shouldValidate\nType: `boolean`  \nDefault: `true`  \n\nFlag for turning off data validation\n\n#### showTooltip\nType: `select`  \nDefault: `{\"name\":\"Show\",\"value\":true}`  \n\nShow or hide the tooltip\n\n#### suffix\nType: `string`  \nDefault: `\"\"`  \n\nText added after the number values\n\n#### textColor\nType: `color`  \nDefault: `\"#333\"`  \n\nColor of text when it is outside of the bars\n\n#### textColorInsideBars\nType: `color`  \nDefault: `\"#FFFFFF\"`  \n\nColor of text when it is inside of the bars\n\n#### tooltipBackgroundColor\nType: `color`  \nDefault: `\"#555555\"`  \n\nBackground color for the tooltip\n\n#### tooltipTextColor\nType: `color`  \nDefault: `\"#FFFFFF\"`  \n\nFont color for the tooltip text\n\n#### tooltipTextSize\nType: `number`  \nDefault: `14`  \nUnits: `px`\n\nFont size for the body text\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: `18`  \nUnits: `px`\n\nText size of bar number values\n\n#### width\nType: `number`  \nDefault: `400`  \nUnits: `px`\n\nWidth of the widget\n\n#### zoomBarFilledColor\nType: `color`  \nDefault: `\"#555555\"`  \n\nFill color for the zoom bar\n\n#### zoomBarNotFilledColor\nType: `color`  \nDefault: `\"#E4E5E5\"`  \n\nColor of the bar when it is not filled (right of the knob)\n\n#### zoomHeight\nType: `number`  \nDefault: `8`  \nUnits: `px`\n\nundefined\n\n#### zoomLabelTextColor\nType: `color`  \nDefault: `\"#333333\"`  \n\nFont color for the zoom range values\n\n#### zoomLabelTextSize\nType: `number`  \nDefault: `14`  \nUnits: `px`\n\nFont size for the zoom range values\n\n#### zoomPercent\nType: `number`  \nDefault: `0.75`  \nUnits: `px`\n\nInitial starting x value of zoom knob\n\n#### zoomWidth\nType: `number`  \nDefault: `340`  \nUnits: `px`\n\nundefined\n\n## Data Definition\n\n\n#### Date\nType: `date`\n\nDefault validate:  \n```js\nfunction (d) { return new Date(this.accessor(d)) !== 'Invalid Date'; }\n```\n\nDefault accessor:  \n```js\nfunction (line) { return line[2]; }\n```\n\n#### category\nType: `string`\n\nDefault validate:  \n```js\nfunction (d) { return this.accessor(d) !== undefined; }\n```\n\nDefault accessor:  \n```js\nfunction (line) { return 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:mousedrag  \n#### External Events\n\nexternal:mousedrag  \n\n## Example\n\n```js  \n//Setup some fake data\nvar data = [\n  ['North', 15000],\n  ['North', 10000],\n  ['North', 7000],\n  ['South', 6000],\n  ['South', 4000],\n  ['South', 3000],\n  ['East', 2900],\n  ['East', 1500],\n  ['West', 1000],\n  ['West', 100],\n  ];\n\nvar width = 400;\nvar height = 400;\n\n//Initialze the widget\nvar chart = d3.select('#vis')\n  .append('svg')\n  .attr({\n    'height': 500,\n    'width': 500\n  })\n  .append('g')\n  .attr('transform', 'translate(29,45)')\n  .chart('ZoomFunnel')\n  .c({\n    'height': height,\n    'width': width,\n  });\n\n//Render the chart with data\nchart.draw(data);\n```\n\n","readmeFilename":"README.md"}