vh.js 382 B

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