mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-12 00:00:01 +08:00
feat: 新增堆叠图
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user