Skip to content

Commit

Permalink
Merge branch 'release/0.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
maxklenk committed Nov 7, 2014
2 parents de175ba + 324ad3e commit 455bdc3
Show file tree
Hide file tree
Showing 11 changed files with 514 additions and 156 deletions.
31 changes: 19 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,27 @@ The column key which identifies the value in each record.

---
##### rows.type : String
Possible values: `line, spline, bar, scatter, area`
Possible values: `line, spline, bar, scatter, area, area-spline, step, area-step, step`

---
##### rows.name : String
Optional name for the row.

---
#### rows.color : String
Defines the color for this row.

---
#### rows.axis : String
Possible values: `y, y2`

Defines the y axis the row is linked.



---
#### type : String
Possible values: `line, spline, bar, scatter, bar, donut`
Possible values: `line, spline, bar, scatter, donut`

Defines which kind of chart should be rendered. The value will be the default for `rows.type`.

Expand Down Expand Up @@ -156,17 +166,11 @@ Label displayed for the [Y axis](http://c3js.org/samples/axes_label.html)


---
#### groups : Object
#### groups : Array
Stacks bar together, like in this [example](http://c3js.org/samples/chart_bar_stacked.html).



---
#### colors : Object
Defines the colors like in this [example](http://c3js.org/samples/data_color.html).



---
#### subchart : Object
Defines the subchart like in this [example](http://c3js.org/samples/options_subchart.html).
Expand Down Expand Up @@ -212,6 +216,12 @@ If `true` a custom legend is displayed. Default: `false`
If `flase` the default legend is hidden. Default: `true`


---
#### annotation : Array of Objects
Defines the annotation lines.

`{value: X, text: 'LABEL', axis: 'AXIS'}` AXIS can be `x`, `y`, `y2`.


---
#### selection : Object
Expand All @@ -233,13 +243,10 @@ Callback whenever a new selection is added.
##### selection.onunselected : function
Callback whenever a selection is removed.


---
##### selection.selected : Array
Contains an array with all selected points of the chart:



Multichart (line, spline, bar, scatter):
```
{
Expand Down

0 comments on commit 455bdc3

Please sign in to comment.