UNPKG

nuke-biz-custom-chart

Version:

custom-chart

13 lines (10 loc) 304 B
export default class AreaStack { static draw = (chart, props) => { const { position, color, shape, style } = props; const area = chart.areaStack(); color && area.color(color); position && area.position(position); shape && area.shape(shape); style && area.style(style); }; }