{"_id":"@abcum/ember-charts","_rev":"5-c0ac0d8a550afd908a6683b5db5ed2fd","name":"@abcum/ember-charts","description":"An addon for working with charts, timelines, and networks for Ember.js.","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@abcum/ember-charts","version":"0.1.0","description":"An addon for working with charts, timelines, and networks for Ember.js.","keywords":["ember-addon"],"license":"MIT","author":{"name":"Tobie Morgan Hitchcock"},"directories":{"doc":"doc","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/abcum/ember-charts.git"},"scripts":{"build":"ember build","start":"ember serve","test":"ember try:each"},"dependencies":{"chart.js":"^2.7.1","ember-cli-babel":"^6.6.0","ember-cli-htmlbars":"^2.0.1","vis":"^4.21.0"},"devDependencies":{"broccoli-asset-rev":"^2.4.5","ember-ajax":"^3.0.0","ember-cli":"~2.17.2","ember-cli-dependency-checker":"^2.0.0","ember-cli-eslint":"^4.2.1","ember-cli-htmlbars":"^2.0.1","ember-cli-htmlbars-inline-precompile":"^1.0.0","ember-cli-inject-live-reload":"^1.4.1","ember-cli-qunit":"^4.1.1","ember-cli-shims":"^1.2.0","ember-cli-sri":"^2.1.0","ember-cli-uglify":"^2.0.0","ember-disable-prototype-extensions":"^1.1.2","ember-export-application-global":"^2.0.0","ember-load-initializers":"^1.0.0","ember-resolver":"^4.0.0","ember-source":"~2.17.0","loader.js":"^4.2.3"},"engines":{"node":"^4.5 || 6.* || >= 7.*"},"ember-addon":{"configPath":"tests/dummy/config"},"gitHead":"cefff8377341040655f48a41638f4e7df945a106","bugs":{"url":"https://github.com/abcum/ember-charts/issues"},"homepage":"https://github.com/abcum/ember-charts#readme","_id":"@abcum/ember-charts@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"tobiemh","email":"tobie@abcum.com"},"dist":{"integrity":"sha512-Cz/l0PQtsrMxrb7AULEnAvF3aLVrXnFG3CpJ0MTlDpyqAs51zzv90WbyLGxci4C8VQFLTu37a0fYoOzb4jrc3A==","shasum":"2dda1ac738730fa7cd0cf9b100ec7215d4d6e777","tarball":"https://registry.npmjs.org/@abcum/ember-charts/-/ember-charts-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRM2MyaNglkFhPYjw3OFTrqw2d5paEV7jCeXNuUXSUhwIgbJZ5AHwhdIYUIuSmOHF7xSaPXuCQclucTphz+Bw+x1c="}]},"maintainers":[{"name":"tobiemh","email":"tobie@abcum.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ember-charts-0.1.0.tgz_1515448876282_0.5341496572364122"},"deprecated":"Package no longer supported. Use github.com/abcum/ascua instead."},"0.1.1":{"name":"@abcum/ember-charts","version":"0.1.1","description":"An addon for working with charts, timelines, and networks for Ember.js.","keywords":["ember-addon"],"license":"MIT","author":{"name":"Tobie Morgan Hitchcock"},"directories":{"doc":"doc","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/abcum/ember-charts.git"},"scripts":{"build":"ember build","lint:js":"eslint ./*.js addon addon-test-support app config lib server test-support tests","start":"ember serve","test":"ember try:each"},"dependencies":{"chart.js":"^2.7.1","ember-cli-babel":"^6.6.0","ember-cli-htmlbars":"^2.0.1","vis":"^4.21.0"},"devDependencies":{"broccoli-asset-rev":"^2.4.5","ember-ajax":"^3.0.0","ember-cli":"~3.0.0","ember-cli-dependency-checker":"^2.0.0","ember-cli-eslint":"^4.2.1","ember-cli-htmlbars":"^2.0.1","ember-cli-htmlbars-inline-precompile":"^1.0.0","ember-cli-inject-live-reload":"^1.4.1","ember-cli-qunit":"^4.1.1","ember-cli-shims":"^1.2.0","ember-cli-sri":"^2.1.0","ember-cli-uglify":"^2.0.0","ember-disable-prototype-extensions":"^1.1.2","ember-export-application-global":"^2.0.0","ember-load-initializers":"^1.0.0","ember-maybe-import-regenerator":"^0.1.6","ember-resolver":"^4.0.0","ember-source":"~3.0.0","ember-source-channel-url":"^1.0.1","ember-try":"^0.2.23","ember-welcome-page":"^3.0.0","eslint-plugin-ember":"^5.0.0","eslint-plugin-node":"^5.2.1","loader.js":"^4.2.3"},"engines":{"node":"^4.5 || 6.* || >= 7.*"},"ember-addon":{"configPath":"tests/dummy/config"},"gitHead":"4af8b434a2f800c50d4d4f79b7a16cebbbd22c1b","bugs":{"url":"https://github.com/abcum/ember-charts/issues"},"homepage":"https://github.com/abcum/ember-charts#readme","_id":"@abcum/ember-charts@0.1.1","_npmVersion":"5.8.0","_nodeVersion":"9.9.0","_npmUser":{"name":"tobiemh","email":"tobie@abcum.com"},"dist":{"integrity":"sha512-zCzPATs5pWZ35Z9Bv2orWLWKdDfC69W2PXuurYUR4l/mDWiKJeUdHre2q7NJyVNJU1mlNnf3lwsyM5TXKJN0nw==","shasum":"cc0216041003d99286183e9306137c428e5dc63b","tarball":"https://registry.npmjs.org/@abcum/ember-charts/-/ember-charts-0.1.1.tgz","fileCount":23,"unpackedSize":22030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAtLx9okrIAvhjQVBcWzbxbnnYVscomtBHdDm0EO5YLAiBcNNUbXgIjFYmKv2cZbRQQqyh6bSuv3SFOwmJlg1qTNg=="}]},"maintainers":[{"name":"tobiemh","email":"tobie@abcum.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ember-charts_0.1.1_1522164752144_0.9241296058642874"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Use github.com/abcum/ascua instead."},"0.1.2":{"name":"@abcum/ember-charts","version":"0.1.2","description":"An addon for working with charts, timelines, and networks for Ember.js.","keywords":["ember-addon"],"license":"MIT","author":{"name":"Tobie Morgan Hitchcock"},"directories":{"doc":"doc","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/abcum/ember-charts.git"},"scripts":{"build":"ember build","lint:js":"eslint ./*.js addon addon-test-support app blueprints config lib server test-support tests","start":"ember serve","test":"ember test","test:all":"ember try:each"},"dependencies":{"chart.js":"^2.7.1","ember-cli-babel":"^6.6.0","ember-cli-htmlbars":"^2.0.1","vis":"^4.21.0"},"devDependencies":{"broccoli-asset-rev":"^2.4.5","ember-ajax":"^3.0.0","ember-cli":"~3.1.3","ember-cli-dependency-checker":"^2.0.0","ember-cli-eslint":"^4.2.1","ember-cli-htmlbars":"^2.0.1","ember-cli-htmlbars-inline-precompile":"^1.0.0","ember-cli-inject-live-reload":"^1.4.1","ember-cli-qunit":"^4.1.1","ember-cli-shims":"^1.2.0","ember-cli-sri":"^2.1.0","ember-cli-uglify":"^2.0.0","ember-disable-prototype-extensions":"^1.1.2","ember-export-application-global":"^2.0.0","ember-load-initializers":"^1.0.0","ember-maybe-import-regenerator":"^0.1.6","ember-resolver":"^4.0.0","ember-source":"~3.1.0","ember-source-channel-url":"^1.0.1","ember-try":"^0.2.23","ember-welcome-page":"^3.0.0","eslint-plugin-ember":"^5.0.0","eslint-plugin-node":"^6.0.1","loader.js":"^4.2.3"},"engines":{"node":"^4.5 || 6.* || >= 7.*"},"ember-addon":{"configPath":"tests/dummy/config"},"gitHead":"710699d280b1404637f9414a7c87f8bd8928a728","bugs":{"url":"https://github.com/abcum/ember-charts/issues"},"homepage":"https://github.com/abcum/ember-charts#readme","_id":"@abcum/ember-charts@0.1.2","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"tobiemh","email":"tobie@abcum.com"},"dist":{"integrity":"sha512-OfD94BvRTJ35anQoq0gyJqgkBUunSiJLT69eogt2eEj3gnKN/Sgs8ppsP1CCNPBmvB/HWz/JR0o9Hxmnv92Fww==","shasum":"7561847645e8e55a20ca621db990be782041aca4","tarball":"https://registry.npmjs.org/@abcum/ember-charts/-/ember-charts-0.1.2.tgz","fileCount":24,"unpackedSize":22099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJYEcCRA9TVsSAnZWagAAgPgP/Rptb1DkRE+Qw9yhJHqc\nwAgdFAGtbJC0msLnXfxOvM4/WossPmTxN7WXhh+giyT0pN5gvwHl7bmG4+G/\nAXca2IpWgndwk8aqODno+HKao8O04q8vkQob5LU0V18CY4xWTe/wDkgas347\nkGGtBf6pY4TxdWTYDm4uoHPz0X++SZ7zK2xl1ByJdJ04RbD0dd3T82Hi51l4\nlX2vMrUcA+iaQm4Js4mDX9SMZ+BSQuR212XFGXcTKkte572bTm0FCDA+b4wb\nfxp4vsDEBWNzlxlv/QqhWT+ldyuqJWt7aL8K1sR5jUf+jpEUls+Cs0WPMX8I\ncbs5bP45rOHenZSrXK9iLGNrmZ5qmdh3QDLacsOTT1amHrzaraLi0KN0x/Kz\n1Oxx4rxsdNmbyoKpiV65engOIKygntg5upXGw+G/PFVhA2LM3OdrwHD3pfCp\n1sOs7WG8dWy9YLbhuzLKDbOx+yZ0SZRXmvCe8hHfOy2Tj8nDXwMOjs4XU8AA\nrSOlsQXSueC9SZqHlEwkhdh8sgUc+MS/792xiXnorGK5jfpHi3eIG6TAhL2a\nQeqg1sL6Lz2xn3gVW/WrtbJplf/K7ksCsJblwIkN/C9jHlmtfQOraDjg1Au6\n0AOWcgeK40lteM7g1gMqiUJPJI+yCC0SG5jpavFHGm/QHUQIF6JoXmqUki/n\nMhz/\r\n=Rk4l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSJVid6Bmd4939GeiTjUzSz7bSy8txjR9Cs1IfHbltYgIgBrDDuj6HtJOIPTYv1N70WMoUlDXst8IScW+ovMduM58="}]},"maintainers":[{"name":"tobiemh","email":"tobie@abcum.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ember-charts_0.1.2_1529184538839_0.2971693039807186"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Use github.com/abcum/ascua instead."}},"readme":"# ember-charts\n\nAn addon for working with charts, timelines, and networks in an Ember.js app.\n\n[![](https://img.shields.io/circleci/project/abcum/ember-charts/master.svg?style=flat-square)](https://circleci.com/gh/abcum/ember-charts) [![](https://img.shields.io/npm/v/@abcum/ember-charts.svg?stylchartse=flat-square)](https://www.npmjs.com/package/@abcum/ember-charts) [![](https://img.shields.io/badge/ember-2.16.1+-orange.svg?style=flat-square)](https://github.com/abcum/ember-charts) [![](https://david-dm.org/abcum/ember-charts/status.svg?style=flat-square)](https://david-dm.org/abcum/ember-charts) [![](https://david-dm.org/abcum/ember-charts/dev-status.svg?style=flat-square)](https://david-dm.org/abcum/ember-charts?type=dev) [![](https://img.shields.io/badge/license-MIT-00bfff.svg?style=flat-square)](https://github.com/abcum/ember-charts) \n\n## Usage\n\n### Installation\n\n`ember install @abcum/ember-charts`\n\n### Introduction\n\nThe ember-charts addon adds functionality for working with chart.js charts, and vis.js timeline and networks, enabling complex and advanced visualisation of analytical data, time-series data, event-data, and networked graph data.\n\n### Examples\n\n#### Charts\n\nCreate a basic chart. The chart type can be one of: [pie](http://www.chartjs.org/docs/latest/charts/pie.html), [bar](http://www.chartjs.org/docs/latest/charts/bar.html), [line](http://www.chartjs.org/docs/latest/charts/line.html), [radar](http://www.chartjs.org/docs/latest/charts/radar.html), [bubble](http://www.chartjs.org/docs/latest/charts/bubble.html), [doughnut](http://www.chartjs.org/docs/latest/charts/doughnut.html), [polarArea](http://www.chartjs.org/docs/latest/charts/polar.html).\n\n```hbs\n{{chart-view type='bar' data=data}}\n```\n\n```js\nexport default Ember.Controller.extend({\n\tdata: {\n\t\tlabels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n\t\tdatasets: [{\n\t\t\tlabel: '# of Votes',\n\t\t\tdata: [12, 19, 3, 5, 2, 3],\n\t\t}]\n\t}\n})\n```\n\nAnd specify custom options a basic line chart.\n\n```hbs\n{{chart-view type='line' data=data options=options}}\n```\n\n```js\nexport default Ember.Controller.extend({\n\toptions: {\n\t\tlegend: {\n\t\t\tdisplay: true,\n\t\t\tlabels: {\n\t\t\t\tfontColor: 'rgb(255, 99, 132)'\n\t\t\t}\n\t\t}\n\t}\n})\n```\n\nFor detailed information on configuration options, look at the [Chart.js documentation](http://www.chartjs.org/docs/latest/) pages.\n\n#### Timelines\n\nCreate a basic event timeline.\n\n```hbs\n{{#timeline-view as |t|}}\n\t{{t.item type='point' start=start content=\"Visited 'Home' page\"}}\n\t{{t.item type='point' start=start content=\"Visited 'About Us' page\"}}\n{{/timeline-view}}\n```\n\nAnd specify actions on timeline events.\n\n```hbs\n{{#timeline-view on-timechange=(action 'timechange') as |t|}}\n\t{{t.item type='point' start=start content=\"Visited 'Home' page\" on-select=(action 'select')}}\n\t{{t.item type='point' start=start content=\"Visited 'About Us' page\" on-select=(action 'select')}}\n{{/timeline-view}}\n```\n\nAnd specify custom options for the timeline. View the [Vis.js documentation](http://visjs.org/docs/timeline/#options) for detailed configuration options.\n\n```hbs\n{{#timeline-view options=options as |t|}}\n\t...\n{{/timeline-view}}\n```\n\n```js\nimport vis from 'vis.js';\n\nexport default Ember.Controller.extend({\n\toptions: {\n\t\tstart: vis.moment().subtract(6, 'months').format(),\n\t\tend: vis.moment().add(6, 'week').format(),\n\t\twidth: '100%',\n\t\theight: '100%',\n\t\talign: 'left',\n\t\torientation: 'top',\n\t\tshowCurrentTime: true,\n\t\tautoResize: true,\n\t\tselectable: false,\n\t\teditable: false,\n\t\tzoomMin: 3600000,\n\t\tzoomMax: 31560000000,\n\t}\n})\n```\n\n##### Timeline events\n\nThese action attributes are able to be set on a timeline.\n\nAttribute           | Description\n:-------------------|:---------------------------------------------------------------------------\n`on-click`          | Called when the user clicks on the timeline.\n`on-dblclick`       | Called when the user double-clicks on the timeline.\n`on-contextmenu`    | Called when the user right-clicks on the timeline.\n`on-timechange`     | Called when the user is moving the timeline range.\n`on-timechanged`    | Called once when the user has finished moving the timeline range.\n`on-rangechange`    | Called when the user is dragging the custom time bar.\n`on-rangechanged`   | Called once when the user has finished dragging the custom time bar.\n\n##### Timeline item events\n\nThese action attributes are able to be set on a timeline item.\n\nAttribute           | Description\n:-------------------|:---------------------------------------------------------------------------\n`on-click`          | Called when the user clicks on an item.\n`on-dblclick`       | Called when the user double-clicks on an item.\n`on-contextmenu`    | Called when the user right-clicks on an item.\n`on-mouseover`      | Called when the user moves the mouse over an item.\n`on-mouseout`       | Called when the user moves the mouse away from an item.\n`on-select`         | Called when the user selects an item.\n\n#### Networks\n\nCreate a basic graph network.\n\n```hbs\n{{#network-view as |n|}}\n\t{{n.node id='a' label=\"Alexander\"}}\n\t{{n.node id='m' label=\"Marcus\"}}\n\t{{n.node id='j' label=\"Jonathan\"}}\n\t{{n.edge from='a' to='j' label=\"likes\"}}\n{{/network-view}}\n```\n\nAnd specify actions on network nodes / edges.\n\n```hbs\n{{#network-view on-zoom=(action 'zoom') as |n|}}\n\t{{n.node id='a' label=\"Alexander\" on-select=(action 'select')}}\n\t{{n.node id='m' label=\"Marcus\" on-select=(action 'select')}}\n\t{{n.node id='j' label=\"Jonathan\" on-select=(action 'select')}}\n\t{{n.edge from='a' to='j' label=\"likes\" on-select=(action 'select')}}\n{{/network-view}}\n```\n\nAnd specify custom options for the network. View the [Vis.js documentation](http://visjs.org/docs/network/#options) for detailed configuration options.\n\n```hbs\n{{#network-view options=options as |n|}}\n\t...\n{{/network-view}}\n```\n\n```js\nimport vis from 'vis.js';\n\nexport default Ember.Controller.extend({\n\toptions: {\n\t\tautoResize: true,\n\t\twidth: '100%',\n\t\theight: '100%',\n\t\tinteraction: {\n\t\t\tzoomView: false,\n\t\t},\n\t\tnodes: {\n\t\t\tshape: 'box',\n\t\t\tscaling: {\n\t\t\t\tmin: 10,\n\t\t\t\tmax: 30\n\t\t\t},\n\t\t\tfont: {\n\t\t\t\tsize: 12,\n\t\t\t\tface: 'Helvetica'\n\t\t\t},\n\t\t},\n\t\tedges: {\n\t\t\tscaling: {\n\t\t\t\tmin: 5,\n\t\t\t\tmax: 15,\n\t\t\t},\n\t\t\tfont: {\n\t\t\t\tsize: 10,\n\t\t\t\tface: 'Helvetica',\n\t\t\t},\n\t\t},\n\t\tphysics: {\n\t\t\tstabilization: true,\n\t\t\tsolver: 'repulsion',\n\t\t\tbarnesHut: {\n\t\t\t\tdamping: 0.5,\n\t\t\t\tavoidOverlap: 1,\n\t\t\t}\n\t\t},\n\t}\n})\n```\n\n##### Network events\n\nThese action attributes are able to be set on a network.\n\nAttribute           | Description\n:-------------------|:---------------------------------------------------------------------------\n`on-zoom`           | Called when the user changes the zoom level of the network\n`on-click`          | Called when the user clicks on the network.\n`on-dblclick`       | Called when the user double-clicks on the network.\n`on-contextmenu`    | Called when the user right-clicks on the network.\n\n##### Network node/edge events\n\nThese action attributes are able to be set on a network node, or network edge.\n\nAttribute           | Description\n:-------------------|:---------------------------------------------------------------------------\n`on-click`          | Called when the user clicks on an node or edge.\n`on-dblclick`       | Called when the user double-clicks on an node or edge.\n`on-contextmenu`    | Called when the user right-clicks on an node or edge.\n`on-select`         | Called when the user selects an node or edge.\n\n\n## Development\n\n- `make install` (install bower and ember-cli dependencies)\n- `make upgrade` (upgrade ember-cli to the specified version)\n- `make tests` (run all tests defined in the package)\n","maintainers":[{"name":"tobiemh","email":"tobie@abcum.com"}],"time":{"modified":"2022-04-04T10:58:16.002Z","created":"2018-01-08T22:01:16.394Z","0.1.0":"2018-01-08T22:01:16.394Z","0.1.1":"2018-03-27T15:32:32.251Z","0.1.2":"2018-06-16T21:28:58.935Z"},"homepage":"https://github.com/abcum/ember-charts#readme","keywords":["ember-addon"],"repository":{"type":"git","url":"git+https://github.com/abcum/ember-charts.git"},"author":{"name":"Tobie Morgan Hitchcock"},"bugs":{"url":"https://github.com/abcum/ember-charts/issues"},"license":"MIT","readmeFilename":"README.md"}