feat: 新增堆叠图

This commit is contained in:
奔跑的面条
2024-12-16 20:05:07 +08:00
parent 6106a8fc5c
commit f48ada2859
10 changed files with 180 additions and 21 deletions
@@ -11,9 +11,9 @@ export const option: ISpec & { dataset?: any } = {
type: 'bar',
dataset: data,
stack: true,
xField: 'type',
xField: ['year', 'type'],
yField: 'value',
seriesField: 'country'
seriesField: 'type'
}
export default class Config extends PublicConfigClass implements CreateComponentType {