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