Skip to content

Commit

Permalink
add axis position to choose where axis title is, #542
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Cukier committed Mar 15, 2018
1 parent ce31fe4 commit cd6d0a0
Show file tree
Hide file tree
Showing 6 changed files with 9,980 additions and 26 deletions.
4 changes: 4 additions & 0 deletions docs/axes.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Type: `'top'|'left'|'bottom'|'right'`
The position of the axis inside the chart.
By default **it is already set** to `'bottom'` for `XAxis` and to `'left'` for `YAxis`. Similar to how the axis are oriented in d3-axis.

#### position (optional)
Type: `'end'|'middle'|'start'`
The position of the title relative to the axis. This value is set to `'end'` by default (i.e. towards the left of a horizontal axis, towards the top of a vertical axis.)

#### tickTotal (optional)
Type: `number`
Total number of ticks on the axis. Already set by default. Similar to the `tickTotal()` method of d3-axis.
Expand Down
Loading

0 comments on commit cd6d0a0

Please sign in to comment.