Skip to content

Commit

Permalink
Merge pull request #297 from Jeffy2012/fix-tickline
Browse files Browse the repository at this point in the history
feat: 隐藏bar 和 percentagestackbar x轴的tickline
  • Loading branch information
paleface001 authored Nov 25, 2019
2 parents 15374bf + b443f21 commit c3ec814
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/plots/bar/layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export default class BaseBarLayer<T extends BarLayerConfig = BarLayerConfig> ext
label: {
visible: false,
},
tickLine: {
visible: false,
},
grid: {
visible: false,
},
Expand Down
2 changes: 1 addition & 1 deletion src/plots/percentage-stack-bar/layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class PercentageStackBarLayer extends StackBar<PercentageStackBar
return _.deepMix({}, super.getDefaultOptions(), {
xAxis: {
visible: true,
tick: {
tickLine: {
visible: false,
},
grid: {
Expand Down

0 comments on commit c3ec814

Please # to comment.