Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 481 Bytes

axis.md

File metadata and controls

34 lines (23 loc) · 481 Bytes

Axis

Building Axis in this component. Here is where xaxis and yaxis and grid system being built.

Import

var Axis = require('react-d3-core').Axis;

Setting props

You can customize Axis component using the following properties. Most of the time you will only use Xaxis, Yaxis.

Basics

  • type
  • showAxis

Scale

  • scale
  • range
  • domain
  • rangeRoundBands

Tick

  • tickOrient
  • tickFormat
  • tickPadding
  • innerTickSize
  • outerTickSize
  • ticks