1.0.4 • Published 11 months ago

react-d3-axis-ts v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

npm version Downloads Uses TypeScript

react-d3-axis-ts

The d3 axis, with some improvements.

  • The style is configurable.
  • The path and lines are now centered on the axis and scale values and use shape-rendering: crispEdges.

Usage

import { Axis } from 'react-d3-axis-ts';

<Axis
  orient='left'
  scale={yScale}
  tickArguments={[10]}
  color='#f99'
  tickSizeInner={width - 40}
  tickSizeOuter={width - 40}
  scaleRev={rev}
/>
1.0.4

11 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago