Skip to content

Commit

Permalink
complete axes doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nicgirault committed Mar 11, 2017
1 parent 97e6cf8 commit 60cfbf0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,17 @@ You can either define single axis by defining a `position` attribute with a valu
</p>


Or define a range of axes with a `spacing` attribute and optionnally a `start` and `end` attributes.
Or define a range of axes with a `spacing` attribute and optionnally a `start` and `end` attributes:

```javascript
{
axes: [
{
spacing: 2
}
]
}
```

<p align="center">
<img src="doc/axes-2.png" width="60%" alt="axes-2">
Expand Down Expand Up @@ -614,6 +624,8 @@ Here is an advanced example:
<i><a href="demo/axes">source</a></i>
</p>

The values that you set for `position`, `spacing`, `start` and `end` are in the unit of the track values.

## Radius

< 1, < 10,
Expand Down

0 comments on commit 60cfbf0

Please sign in to comment.