hvh.js 374 B

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