hv.js 380 B

123456789
  1. import { curveStepAfter } from 'd3-shape';
  2. import { Curve } from './curve';
  3. export const HV = (options) => {
  4. return (P, value, coordinate, theme) => {
  5. return Curve(Object.assign({ curve: curveStepAfter }, options))(P, value, coordinate, theme);
  6. };
  7. };
  8. HV.props = Object.assign(Object.assign({}, Curve.props), { defaultMarker: 'hv' });
  9. //# sourceMappingURL=hv.js.map