hv.js 528 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.HV = void 0;
  4. const d3_shape_1 = require("d3-shape");
  5. const curve_1 = require("./curve");
  6. const HV = (options) => {
  7. return (P, value, coordinate, theme) => {
  8. return (0, curve_1.Curve)(Object.assign({ curve: d3_shape_1.curveStepAfter }, options))(P, value, coordinate, theme);
  9. };
  10. };
  11. exports.HV = HV;
  12. exports.HV.props = Object.assign(Object.assign({}, curve_1.Curve.props), { defaultMarker: 'hv' });
  13. //# sourceMappingURL=hv.js.map