ember-cli-nvd3-multichart
v0.0.1
Published
Emberjs wrapper to create nvd3 multichart
Downloads
1
Readme
Ember-cli-nvd3-multichart
TODO: WORK IN PROGRESS
This README outlines the details of collaborating on this Ember addon.
Installation
git clone
this repositorynpm install
bower install
Running
ember server
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
Examples:
- http://jsfiddle.net/L62mqmj8/
- https://jsfiddle.net/qh9byxwu/3/
Example Data:
[{"key":"Stream0","values":[{"x":0,"y":-0.12843560431033219},{"x":1,"y":-0.12035594207384664},{"x":2,"y":-0.15114098940763543},{"x":3,"y":-0.12056846153021003},{"x":4,"y":-0.10693536426692081},{"x":5,"y":-0.10094672061255971},{"x":6,"y":-0.14553942104641585},{"x":7,"y":-0.16365092166040549},{"x":8,"y":-0.18910897846334562},{"x":9,"y":-0.18337090996484146},{"x":10,"y":-0.8357306623008524},{"x":11,"y":-1.0915214610819588},{"x":12,"y":-1.1991383674739426},{"x":13,"y":-0.11320722970735358},{"x":14,"y":-0.18838913643191835},{"x":15,"y":-0.15466115015755313},{"x":16,"y":-0.10570392485113504}],"type":"area","yAxis":1},{"key":"Stream1","values":[{"x":0,"y":-0.16972737687324294},{"x":1,"y":-0.13047718804520358},{"x":2,"y":-0.1918135271018032},{"x":3,"y":-0.13916610458359105},{"x":4,"y":-0.13484479978580866},{"x":5,"y":-0.19060927805006783},{"x":6,"y":-0.1964677815873194},{"x":7,"y":-0.18478023074708652},{"x":8,"y":-0.17684603962496057},{"x":9,"y":-0.11139024262655438},{"x":10,"y":-0.2764848295548067},{"x":11,"y":-1.188839675473994},{"x":12,"y":-2.248018908025019},{"x":13,"y":-1.1390629876120693},{"x":14,"y":-0.10727008648784739},{"x":15,"y":-0.15733292896430412},{"x":16,"y":-0.17345958529727762}],"type":"area","yAxis":1},{"key":"Stream2","values":[{"x":0,"y":0.15587518470688236},{"x":1,"y":0.2506297891911465},{"x":2,"y":1.5834443525641622},{"x":3,"y":6.0156209064335595},{"x":4,"y":7.233154467340695},{"x":5,"y":3.240761018847988},{"x":6,"y":0.3627373853540058},{"x":7,"y":0.11826998975317174},{"x":8,"y":0.12121140327314714},{"x":9,"y":0.11975058050574493},{"x":10,"y":0.15537378240137079},{"x":11,"y":0.12793973280009885},{"x":12,"y":0.12865124476294723},{"x":13,"y":0.14338155327249436},{"x":14,"y":0.16932173364244985},{"x":15,"y":0.25425802634779127},{"x":16,"y":0.57459993733538}],"type":"line","yAxis":1},{"key":"Stream3","values":[{"x":0,"y":1.288846018055042},{"x":1,"y":0.7467906812756893},{"x":2,"y":1.1439749993344672},{"x":3,"y":0.828470666595795},{"x":4,"y":0.29456063518417297},{"x":5,"y":0.1685092006858985},{"x":6,"y":0.11777272013281113},{"x":7,"y":0.19980040954733067},{"x":8,"y":0.1643860274861003},{"x":9,"y":0.10471802272371986},{"x":10,"y":0.18227841717046722},{"x":11,"y":0.16621689931056474},{"x":12,"y":0.1445119743914811},{"x":13,"y":0.1612134346181289},{"x":14,"y":0.11359557298591323},{"x":15,"y":0.14348772099299023},{"x":16,"y":0.11064744962180069}],"type":"line","yAxis":1},{"key":"Stream4","values":[{"x":0,"y":0.11343632432861395},{"x":1,"y":0.15939138819561294},{"x":2,"y":0.2000080951328051},{"x":3,"y":0.24660078015526696},{"x":4,"y":0.8143216583531333},{"x":5,"y":2.764956785367644},{"x":6,"y":3.1379402558377043},{"x":7,"y":1.1767340513298676},{"x":8,"y":0.4018447753670007},{"x":9,"y":0.8068467163267046},{"x":10,"y":1.175381322999845},{"x":11,"y":1.0455762040817984},{"x":12,"y":0.4746094358386871},{"x":13,"y":1.103923587636598},{"x":14,"y":0.17955844517344244},{"x":15,"y":0.16997700063217247},{"x":16,"y":0.16062339100549913}],"type":"scatter","yAxis":1},{"key":"Stream5","values":[{"x":0,"y":0.45573464120823076},{"x":1,"y":1.0875624996022006},{"x":2,"y":1.8984885217420282},{"x":3,"y":2.171922590442056},{"x":4,"y":0.7713815217601094},{"x":5,"y":0.32155346723947376},{"x":6,"y":0.14862777133142485},{"x":7,"y":0.16301334189264546},{"x":8,"y":0.19272196791340465},{"x":9,"y":0.13828826408755754},{"x":10,"y":0.16124143010599531},{"x":11,"y":0.13502893936879204},{"x":12,"y":0.10864855881698723},{"x":13,"y":0.1385253055726485},{"x":14,"y":0.11557937650794141},{"x":15,"y":0.11379712325256043},{"x":16,"y":0.11450063044750544}],"type":"scatter","yAxis":1},{"key":"Stream6","values":[{"x":0,"y":0.10880350251575902},{"x":1,"y":0.1922701517027836},{"x":2,"y":0.1399671206017856},{"x":3,"y":0.10546481895090289},{"x":4,"y":0.11741197052465903},{"x":5,"y":0.13560159573085342},{"x":6,"y":0.1483564483817133},{"x":7,"y":0.18304793316475584},{"x":8,"y":0.17756108954005165},{"x":9,"y":0.216679431926311},{"x":10,"y":0.450174104272676},{"x":11,"y":1.1594757537071778},{"x":12,"y":2.2636064596296865},{"x":13,"y":4.316229377280474},{"x":14,"y":3.3741564573494807},{"x":15,"y":1.181623905496313},{"x":16,"y":1.2483111679524939}],"type":"bar","yAxis":1},{"key":"Stream7","values":[{"x":0,"y":0.3899226190021784},{"x":1,"y":0.14587496813575676},{"x":2,"y":0.1637450286442256},{"x":3,"y":0.1145713768285304},{"x":4,"y":0.19534901339430655},{"x":5,"y":0.10893353736152112},{"x":6,"y":0.11151316926185305},{"x":7,"y":0.1567049686055735},{"x":8,"y":0.1830651185273599},{"x":9,"y":0.19771943560851832},{"x":10,"y":0.5396969457472105},{"x":11,"y":1.3115483753144725},{"x":12,"y":0.6137435921340435},{"x":13,"y":1.1159130604784033},{"x":14,"y":1.531516234225191},{"x":15,"y":0.9510203164974071},{"x":16,"y":0.3913212603664962}],"type":"bar","yAxis":1},{"key":"Stream8","values":[{"x":0,"y":0.18241129566122988},{"x":1,"y":0.18135075157726127},{"x":2,"y":0.12117285891870884},{"x":3,"y":0.17286284147443637},{"x":4,"y":0.20410073347255753},{"x":5,"y":0.8665672494340582},{"x":6,"y":1.987424187540137},{"x":7,"y":1.4727473673196159},{"x":8,"y":0.3915924404712302},{"x":9,"y":0.2129152681658679},{"x":10,"y":0.1848782922016436},{"x":11,"y":0.1885228808433367},{"x":12,"y":0.11715408169457235},{"x":13,"y":0.2772873183369749},{"x":14,"y":0.9217914552685311},{"x":15,"y":0.7443565021297225},{"x":16,"y":0.18544303969533715}],"type":"bar","yAxis":1}]