{"_id":"@domoinc/funnel-lines","_rev":"38-d55263e3778c63419171f84b6b0a5911","name":"@domoinc/funnel-lines","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.0":{"name":"@domoinc/funnel-lines","version":"2.0.0","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/funnel-lines@2.0.0","maintainers":[{"name":"jmstewart","email":"james.stewart42@gmail.com"}],"dist":{"shasum":"7cc7d49bb06067bd16bec75a59a5875dd1c7b800","tarball":"https://registry.npmjs.org/@domoinc/funnel-lines/-/funnel-lines-2.0.0.tgz","integrity":"sha512-DHHJq82uQoByhUaC2/zmIzA3Ukspr+yl6gzCgJ/FCveM7I9Kr45qxZDsh9+vI7fIxa/em/ci9gAPZZwz6GviCg==","signatures":[{"sig":"MEYCIQComFoaHiuuKaJzykECXirHvdbcVhoom4rVE14ZTQpyLQIhAPFaFw2dQNae8GKBpuKHJd6yVz0riPl2XmDaGVS8cl8x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"7cc7d49bb06067bd16bec75a59a5875dd1c7b800","gitHead":"48e5bbe41fa58ec6da6d0979d3e8d0d3dfe140e8","scripts":{},"_npmUser":{"name":"jmstewart","email":"james.stewart42@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.7.1","description":"FunnelLines - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{"d3":"^3.5.15","d3.chart":"^0.3.0","@domoinc/da-theme":"^4.2.1","@domoinc/base-widget":"^1.5.1","@domoinc/bent-line-with-dot":"^1.0.1"},"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/funnel-lines-2.0.0.tgz_1455748435640_0.16731948684901","host":"packages-9-west.internal.npmjs.com"}},"2.0.1":{"name":"@domoinc/funnel-lines","version":"2.0.1","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/funnel-lines@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":"14f2c2377c409078a679859a72d3ca2c6e2eb4b0","tarball":"https://registry.npmjs.org/@domoinc/funnel-lines/-/funnel-lines-2.0.1.tgz","integrity":"sha512-icKrP9HBSGd+DR8ud/EtgZRyWt3fceMlC1EYmBc69KaFrTOs4iPWhUOjbMWMYS9wgpAT7l3ek1njUTbQeLHjWQ==","signatures":[{"sig":"MEUCIG8KhzfDQ7VQld9m8DHWgyX4E1FscRfDoXAogSn81GGZAiEApOde7eNTSDTFlUw/Q/iEEg8lJrJXvI3eafcLm17Ytsw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"14f2c2377c409078a679859a72d3ca2c6e2eb4b0","gitHead":"f69f39d6d52ed9b266b1d055f9190a63b955232e","scripts":{},"_npmUser":{"name":"jmstewart","email":"james.stewart42@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.6.0","description":"FunnelLines - Domo Widget","directories":{},"_nodeVersion":"5.6.0","dependencies":{"d3":"^3.5.15","d3.chart":"^0.3.0","@domoinc/da-theme":"^4.2.1","@domoinc/base-widget":"^1.5.1","@domoinc/bent-line-with-dot":"^1.0.1"},"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/funnel-lines-2.0.1.tgz_1456164238088_0.1629058492835611","host":"packages-6-west.internal.npmjs.com"}},"2.0.2":{"name":"@domoinc/funnel-lines","version":"2.0.2","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/funnel-lines@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":"8b7533f72ec7666efea432cffcf0154ec1a9c4f6","tarball":"https://registry.npmjs.org/@domoinc/funnel-lines/-/funnel-lines-2.0.2.tgz","integrity":"sha512-lzwTZS15hZcNdnTXwvWrPoPK8aJfwpjbOQJyR9E3b2ZOu49Gobx9fMi++MI8fDodaF2aHHaHRwxM0YotIql7Hw==","signatures":[{"sig":"MEUCIBi7xzKdl6XYfGioL0lXytg7eEpUZ06Q59P75DfKcqNoAiEA2CQEf3ADBKDWmPFO8c+9pMFvuT39pumKbmU2w5kv5W4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxHlCRA9TVsSAnZWagAAAEEQAIB2ZPb3OsckzEf1O7AH\nzMnzs33YhUr/I4BHodixLqj5xYX+Wz8qxA+vdXFQ27nHI3+Vfetf1pUB8o53\n2hbKgdZ2LJ5cWCUZEe3rtbatJ8hQsO2tsgHnGcKUKLbn3KL6fA6itKxQPIWh\ntgIrz1Wo22L6XdJbspW4uU8KptQMji/ksev3Qtc/OXwuLn52R6MCpHL2vdvl\n+9JT488AXq++NDetVPB809ajEPZwOV6cQ4p0+IC89TVMqBwfOBwo1NKJ6dIo\nFoIRNiyieZ30LL+y57yoVYy7nwIEQi2SRpBw2fEa921ugt95rTiqoFcPao1M\nc31E3Hhnfx9YXvkoC5dxy9OblxP5RFOW7cwhonIWTqJ2PbeyE9tUkSRvgogy\nQBMOhUrHTky4e9qOT9l3iAp4oQl1eyNxvBrlLMqqB+5ub9+6hvvHqTu/kyHB\nhewKebedYIGmpqOvv5RzfBS/7sWizWVrpPKVHzA7IomZSkADMcugg50H+mXU\nfXHtqpO3Bz2gylvvpTQ6qOcEFmRi2eSczK+SQWrh1RL46sXxq1CeGFCXROFH\nG85HJe3FH/Yv/EXA2zzHtUsgcx5FuGCfJv88HLEDzWprLxhHgZNZvyAcNsWw\nzf0HUXVo0VIint98rRa8uQAnp4TzjwcYNxRehze0kNZV4T4CxJEwSFiISD4n\nXumj\r\n=Ot3c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_from":".","_shasum":"8b7533f72ec7666efea432cffcf0154ec1a9c4f6","gitHead":"762e8b856c59296fca8069fcf22375952c88cb6e","scripts":{},"_npmUser":{"name":"excrispy","email":"excrispy@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.7.2","description":"FunnelLines - Domo Widget","directories":{},"_nodeVersion":"5.2.0","dependencies":{"d3":"^3.5.16","d3.chart":"^0.3.0","@domoinc/da-theme2":"^2.3.1","@domoinc/base-widget":"^1.5.2","@domoinc/bent-line-with-dot":"^1.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/funnel-lines-2.0.2.tgz_1456164956945_0.22224549995735288","host":"packages-9-west.internal.npmjs.com"}}},"time":{"created":"2016-02-17T22:34:00.490Z","modified":"2026-02-27T17:28:18.295Z","2.0.0":"2016-02-17T22:34:00.490Z","2.0.1":"2016-02-22T18:04:03.074Z","2.0.2":"2016-02-22T18:16:02.735Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["domo","app"],"repository":{"type":"git"},"description":"FunnelLines - 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":"# FunnelLines\nHere goes a brief description of your widget\n\n![Widget](img/local-728x728-widget.png)\n\n## Config\n\n``` js\nthis._config = {\n\theight: {\t\t\t\t\t\t\t\t\t\t// Name of config Item\n\t\tname: 'Chart Height',\t\t\t\t\t\t// [Optional] - This is the human readable name for this config item in Title Case. It should only be set if this is something that an end user would want to configure.\n\t\tdescription: 'Height of the chart.',\t\t// Human readable description.\n\t\ttype: 'number',\t\t\t\t\t\t\t\t// [Optional] - Value type. Will be used for UI elements in future.\n\t\tvalue: 100\t\t\t\t\t\t\t\t\t// Default value for item\n\t},\n\twidth: {\n\t\tname: 'Chart Width'\n\t\tdescription: 'Width of the chart.',\n\t\ttype: 'number',\n\t\tvalue: 100\n\t},\n\tshouldValidate: {\n\t\tdescription: 'Flag for turning off data validation.',\n\t\ttype: 'boolean',\n\t\tvalue: true\n\t},\n\tchartName: {\n\t\tdescription: 'Name of chart for Reporting.',\n\t\ttype: 'string',\n\t\tvalue: 'FunnelLines'\n\t}\n};\n```\n\n## Data Definition\n``` js\n//----------------------------------------------------------------------------------\n// Data Definition:\n// Set functions on how to access and validate data values.\n//----------------------------------------------------------------------------------\n_Chart._newDataDefinition = {\n\t'Label': {\n\t\ttype: 'string', \t\t\t\t\t\t\t\t\t\t\t\t\t// Expected type for column...\n\t\tvalidate: function (d) { return this.accessor(d) !== undefined; }, \t// Validation function\n\t\taccessor: function (line) { return String(line[0]); }, \t\t\t\t// Accessor function\n\t},\n\t'Value': {\n\t\ttype: 'number',\n\t\tvalidate: function (d) { return !isNaN(this.accessor(d)) && this.accessor(d) >= 0; },\n\t\taccessor: function (line) { return Number(line[1]); },\n\t}\n};\n```\n\n## Create Widget\n``` js\n//Setup some fake data\nvar data = [\n\t[1,2,3],\n\t[4,5,6],\n\t[7,8,9]\n];\n\n//Initialze the widget\nvar chart = d3.select(\"#vis\")\n\t.append(\"svg\")\n\t.append(\"g\")\n\t.attr(\"transform\", \"translate(50,50)\")\n\t.chart(\"FunnelLines\")\n\t.width(250)\n\t.height(250);\n\n//Render the chart with data\nchart._notifier.showMessage(true);\nchart.draw(data);\n```\n","readmeFilename":"README.md"}