bar_char={
const wrapper = html`<div style="text-align: center; width:${bar_width}px"></div>`;
const container = html`<div style="height: 450px;width:${bar_width}px;text-align: center"></div>`
wrapper.appendChild(container);
yield wrapper;
const stackedColumnPlot = new G2Plot.Column(container, {
data:data_filter,
isStack: true,
renderer:'svg',
xField: 'Year',
yField: 'Number',
seriesField: 'Month',
label: {
position: 'middle',
layout: [
{ type: 'interval-adjust-position' },
{ type: 'interval-hide-overlap' },
{ type: 'adjust-color' },
],
},
maxColumnWidth: 50,
});
stackedColumnPlot.render();
}