Skip to content

Commit

Permalink
See #14. Implement up-to-date Ember-CLI addon
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Sep 5, 2015
1 parent 19009f8 commit deb2951
Show file tree
Hide file tree
Showing 343 changed files with 171 additions and 264,687 deletions.
3 changes: 1 addition & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"predef": [
"document",
"window",
"-Promise",
"c3"
"-Promise"
],
"browser": true,
"boss": true,
Expand Down
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
bower_components/
tests/
tmp/
dist/

.bowerrc
.editorconfig
Expand All @@ -9,5 +10,6 @@ tmp/
.npmignore
**/.gitkeep
bower.json
ember-cli-build.js
Brocfile.js
testem.json
47 changes: 0 additions & 47 deletions .tmp/index.html

This file was deleted.

61 changes: 0 additions & 61 deletions .tmp/scripts/combined-scripts.js

This file was deleted.

40 changes: 0 additions & 40 deletions .tmp/scripts/compiled-templates.js

This file was deleted.

14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@ cache:
directories:
- node_modules

env:
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary

matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary

before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- "npm config set spin false"
- "npm install -g npm@^2"

Expand All @@ -19,4 +31,4 @@ install:
- bower install

script:
- npm test
- ember try $EMBER_TRY_SCENARIO test
3 changes: 3 additions & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignore_dirs": ["tmp"]
}
25 changes: 0 additions & 25 deletions Brocfile.js

This file was deleted.

60 changes: 3 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,8 @@
# Ember-c3

[Ember-C3](https://github.com/Glavin001/ember-c3)
==========
This README outlines the details of collaborating on this Ember addon.

> Ember component library for [C3, a D3-based reusable chart library](https://github.com/masayuki0812/c3).
**Live Demo:** http://glavin001.github.io/ember-c3/dist/

Alternatively take a look at [Ember-NVD3](https://github.com/Glavin001/ember-nvd3) for your charting needs.

---

## Usage

### Install with npm

`npm install ember-c3 --save-dev`

### Run the generator

`ember g ember-c3`

### Using the Ember Component

#### Basic

Where `model` is your C3 data:

```handlebars
{{c3-chart data=model}}
```

#### Advanced

See http://c3js.org/examples.html for examples of how to use C3.

```handlebars
{{c3-chart
data=model
axis=axis
regions=regions
bar=bar
pie=pie
donut=donut
gauge=gauge
grid=grid
legend=legend
tooltip=tooltip
subchart=subchart
zoom=zoom
size=size
padding=padding
color=color
transition=transition
point=point
}}
```

## Developing
## Installation

* `git clone` this repository
* `npm install`
Expand Down
34 changes: 0 additions & 34 deletions app/bower_components/bootstrap/.bower.json

This file was deleted.

Loading

0 comments on commit deb2951

Please sign in to comment.