nuke-biz-custom-chart
Version:
custom-chart
29 lines (21 loc) • 705 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 AreaStack = function AreaStack() {
_classCallCheck(this, AreaStack);
};
AreaStack.draw = function (chart, props) {
var position = props.position,
color = props.color,
shape = props.shape,
style = props.style;
var area = chart.areaStack();
color && area.color(color);
position && area.position(position);
shape && area.shape(shape);
style && area.style(style);
};
exports.default = AreaStack;
module.exports = exports["default"];