1.0.3 • Published 2 months ago

react-d3-axis-ts v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

npm version Downloads

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.3

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago