nuke-biz-custom-chart
Version:
custom-chart
27 lines (20 loc) • 641 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Coord = function Coord() {
_classCallCheck(this, Coord);
};
Coord.draw = function (chart, props) {
var _props$type = props.type,
type = _props$type === undefined ? 'rect' : _props$type,
transposed = props.transposed,
inner = props.inner;
chart.coord(type, {
transposed: transposed,
inner: inner
});
};
exports.default = Coord;
module.exports = exports['default'];