mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
Merge pull request #12897 from dataease/pr@dev-v2@fix_date_sub_dim
fix(图表): 日期类型的子维度图例显示不全
This commit is contained in:
commit
94ec8872e7
@ -412,7 +412,12 @@ export class StackBar extends Bar {
|
||||
this.baseOptions = {
|
||||
...this.baseOptions,
|
||||
isStack: true,
|
||||
isGroup: false
|
||||
isGroup: false,
|
||||
meta: {
|
||||
category: {
|
||||
type: 'cat'
|
||||
}
|
||||
}
|
||||
}
|
||||
this.axis = [...this.axis, 'extStack']
|
||||
}
|
||||
@ -668,7 +673,12 @@ export class PercentageStackBar extends GroupStackBar {
|
||||
isStack: true,
|
||||
isPercent: true,
|
||||
isGroup: false,
|
||||
groupField: undefined
|
||||
groupField: undefined,
|
||||
meta: {
|
||||
category: {
|
||||
type: 'cat'
|
||||
}
|
||||
}
|
||||
}
|
||||
this.axis = [...BAR_AXIS_TYPE, 'extStack']
|
||||
}
|
||||
|
@ -403,7 +403,12 @@ export class HorizontalStackBar extends HorizontalBar {
|
||||
this.baseOptions = {
|
||||
...this.baseOptions,
|
||||
isGroup: false,
|
||||
isStack: true
|
||||
isStack: true,
|
||||
meta: {
|
||||
category: {
|
||||
type: 'cat'
|
||||
}
|
||||
}
|
||||
}
|
||||
this.axis = [...this.axis, 'extStack']
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user