Skip to content

Commit

Permalink
feat: 增加 sortZIndex 参数 (#3060)
Browse files Browse the repository at this point in the history
* feat: 增加 sortZIndex 参数

* chore: enlarger size
  • Loading branch information
visiky authored Dec 30, 2021
1 parent f8b6274 commit e16d29d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"limit-size": [
{
"path": "dist/g2plot.min.js",
"limit": "998 Kb"
"limit": "1000 Kb"
},
{
"path": "dist/g2plot.min.js",
Expand Down
1 change: 1 addition & 0 deletions src/plots/gauge/adaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ function geometry(params: Params<GaugeOptions>): Params<GaugeOptions> {
},
args: {
zIndexReversed: true,
sortZIndex: true,
},
minColumnWidth: rangeWidth,
maxColumnWidth: rangeWidth,
Expand Down
2 changes: 2 additions & 0 deletions src/plots/pie/adaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function geometry(params: Params<PieOptions>): Params<PieOptions> {
},
args: {
zIndexReversed: true,
sortZIndex: true,
},
},
});
Expand All @@ -62,6 +63,7 @@ function geometry(params: Params<PieOptions>): Params<PieOptions> {
},
args: {
zIndexReversed: true,
sortZIndex: true,
},
},
});
Expand Down
1 change: 1 addition & 0 deletions src/plots/progress/adaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export function geometry(params: Params<ProgressOptions>): Params<ProgressOption
},
args: {
zIndexReversed: true,
sortZIndex: true,
},
},
});
Expand Down

0 comments on commit e16d29d

Please sign in to comment.