forked from github/dataease
refactor(图表): 透视表树形模式默认折叠
This commit is contained in:
parent
c97ef87a03
commit
b28e166ade
@ -191,10 +191,12 @@ export class TablePivot extends S2ChartView<PivotSheet> {
|
|||||||
sortParams: sortParams
|
sortParams: sortParams
|
||||||
}
|
}
|
||||||
// options
|
// options
|
||||||
|
const style = this.configStyle(chart)
|
||||||
|
style.hierarchyCollapse = true
|
||||||
const s2Options: S2Options = {
|
const s2Options: S2Options = {
|
||||||
width: containerDom.offsetWidth,
|
width: containerDom.offsetWidth,
|
||||||
height: containerDom.offsetHeight,
|
height: containerDom.offsetHeight,
|
||||||
style: this.configStyle(chart),
|
style,
|
||||||
totals: tableTotal as Totals,
|
totals: tableTotal as Totals,
|
||||||
conditions: this.configConditions(chart),
|
conditions: this.configConditions(chart),
|
||||||
tooltip: {
|
tooltip: {
|
||||||
|
Loading…
Reference in New Issue
Block a user